Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 10:02 UTC
Updated:
20 Apr 2017 at 19:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidI'm not sure. :/
Comment #2
dave reidOk, I've committed a change to fetch the version = [x] line from media.info if possible, or otherwise use the branch of the module (7.x-2.x or 7.x-1.x) which is what Drupal core does in it's own system_library().
http://drupalcode.org/project/media.git/commit/a75cf8f
http://drupalcode.org/project/media.git/commit/d10b826
Comment #4
makangus commentedSorry to re-open this issue.
It seems like the version is always the same so the cache is never busted or it can take a very very long time depending on the TTL.
Maybe we should keep the version as NULL so the cache is busted when we clear cache in drupal.
Before:
The js libraries are loaded in as media.js?v=7.x-2.x-dev, the version is never changed so the cache is never busted when media.js is updated.
After:
The file is now media.js?n7ubhc and the cache is busted and the cache buster is updated to a different hash when we clear cache in Drupal.
Comment #6
joseph.olstadFixed a while back, thanks @Devin Carlson