When I run a Drupal cache clear, the css_js_query_string variable gets reset, which avoids having to hard-clear my browser's cached files in order to get updated JS. However, CKEditor uses its own cache-busting string, and the scripts loaded by CKEditor can get out of date when doing a deployment. It would be good to force CKEditor to re-use the same string.
This was a particular problem with an install profile I was using that provided it's own 'customConfig' file.
For reference:
http://ckeditor.com/forums/CKEditor/Problem-with-config.js-not-updating
http://ckeditor.com/forums/CKEditor/howto-disable-anti-cache-for-toolbar...
http://stackoverflow.com/questions/14940452/force-ckeditor-to-refresh-co...
Comment | File | Size | Author |
---|---|---|---|
#4 | 2679106-ckeditor-reuse-cache-busting-query-898d02-do-not-test.patch | 1.4 KB | Dave Reid |
#2 | 2679106-ckeditor-reuse-cache-busting-query.patch | 1.39 KB | Dave Reid |
Comments
Comment #2
Dave ReidComment #3
Dave ReidComment #4
Dave ReidPatch against earlier hash 898d02 which we were currently using on our project.
Comment #5
Wim LeersAlready landed in Drupal 8 core, with test coverage: #2679903: CKEditor uses separate cache-busting query string from Drupal's.
Comment #6
naxoc CreditAttribution: naxoc commentedPatch in #2679106-2: CKEditor uses separate cache-busting query string from Drupal's works for me.
Comment #7
Liam MorlandUniversity of Waterloo has been running this patch for several months.
Comment #9
TwoDSimple (and overdue) enough, thanks all!