Bug #83626

CKEditor styling: CSS file changes are not visible because of cache handling

Added by Marco H over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2018-01-21
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When styling the CKEditor editor (yaml file: editor:config:contentsCss:editor.css), the CSS file is being cached, so no further changes are visible unless I reopen the browser. Deleting typo3temp also did not work.


Related issues

Related to TYPO3 Core - Bug #88369: Ckeditor: customs plugins are not refreshed because of browser cache Resolved 2019-05-16

History

#1 Updated by Jan Kornblum 10 months ago

  • Priority changed from Should have to Must have
  • TYPO3 Version changed from 8 to 9

#2 Updated by Benni Mack 5 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

#3 Updated by DANIEL Rémy 4 months ago

  • Related to Bug #88369: Ckeditor: customs plugins are not refreshed because of browser cache added

#4 Updated by DANIEL Rémy 4 months ago

When ckeditor loads its resources, it adds a "timestamp" parameter to the url of the resource:
This timestamp changes with every version of ckeditor: with ckeditor 4.11.1 it is "?t=IE8A".

But this timestamp is not added for contentsCss.

I think this should be reported in upstream ckeditor.

Loading of contentsCss is done here: https://github.com/ckeditor/ckeditor-dev/blob/4.11.1/core/tools.js#L346 (timestamp not appended to CSS url)
Loading of other resources uses this: See https://github.com/ckeditor/ckeditor-dev/blob/4.11.1/core/ckeditor_base.js#L177 (timestamp appended to resource url)

Also available in: Atom PDF