Permalink
Browse files

Add local cache busting

  • Loading branch information...
koenbok committed Jun 4, 2014
1 parent 5476611 commit 2ed6babaf7ba8cd93216cd60b106cf8344659215
Showing with 2 additions and 3 deletions.
  1. +0 −1 framer/AnimationLoop.coffee
  2. +2 −2 framer/Layer.coffee
@@ -45,7 +45,6 @@ AnimationLoop =
# if AnimationLoop._sessionTime == 0
# console.log "AnimationLoop._start"
AnimationLoop._frameCounter++
time = Utils.getTime()
@@ -364,8 +364,8 @@ class exports.Layer extends BaseClass
# imageUrl = Config.baseUrl + imageUrl
# If the file is local, we want to avoid caching
# if Utils.isLocal()
# imageUrl += "?nocache=#{Date.now()}"
if Utils.isLocal()
imageUrl += "?nocache=#{Date.now()}"
# As an optimization, we will only use a loader
# if something is explicitly listening to the load event

0 comments on commit 2ed6bab

Please sign in to comment.