Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add local cache busting
- Loading branch information
Showing
with
2 additions
and
3 deletions.
-
+0
−1
framer/AnimationLoop.coffee
-
+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 |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.