Bug #88369
closedCkeditor: customs plugins are not refreshed because of browser cache
100%
Description
When a custom CKEditor plugin is modified, if it was in the browser cache before, the old version can be loaded.
To prevent this, CKEDITOR.timestamp can be used to add a "?t=" parameter to the url of plugins JS files.
CKEDITOR.timestamp has a default value in ckeditor.js and changes with every ckeditor releases.
On TYPO3 8.7 with ckeditor 4.11.1, CKEDITOR.timestamp is "IA8E" (it is not a real timestamp).
TYPO3 should override CKEDITOR.timestamp with a custom hash.
In a ideal scenario, this hash should be recalculated every time a custom plugin is edited.
But it is not very possible.
So I suggest that this hash can be the result of a MD5 of ckeditor configuration.
Every time the configuration is changed (like when adding an external plugin), the hash will change, and the browser cache will not serve an old version of a plugin.
Updated by Rémy DANIEL over 5 years ago
- Related to Bug #83626: CKEditor styling: CSS file changes are not visible because of cache handling added
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60819
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60853
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60854
Updated by Rémy DANIEL over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9e819f9e749ef1f80e3afdae80f24648733cc6df.