Opened 13 years ago
Last modified 9 years ago
#9026 confirmed New Feature
Make CKEditor prevent caching images in browsers — at Initial Version
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | File Browser | Version: | 3.0 |
Keywords: | Oracle | Cc: | joel.peltonen@… |
Description
To reproduce:
- For simplicity use CKEditor with CKFinder.
- In CKEditor click Image button and then Browse Server button
- With CKFinder upload image with name
abc.jpg
, select it and click OK to insert it into CKEditor. - In CKEditor, click on the image, next right click on it and choose image properties dialog.
- Click Browse Server button again
- While in CKFinder - delete edited image and upload different image with the same name
abc.jpg
- Double click on this image and the click OK to insert it into CKEditor.
Problem: In CKFinder images are refreshed but in CKEditor old image is seen in preview and in CKEditor content area.
- One solution might be using no-cache HTTP headers on server-side
- Second is adding some random timestamp parameter behind image name in URL filed of image dialog E.g. abc.jpg?t=1234
It would be nice if CKEditor was doing that in background without any user interaction – perhaps new configuration option could be used here.