Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

После изменения картинки CKEditor открывает старую #102

Open
zertex opened this issue Nov 1, 2017 · 3 comments

Comments

@zertex
Copy link

zertex commented Nov 1, 2017

Здравствуйте!

Использую CKEditor + Elfinder
Загружаю картинку в Elfinder, вставляю в CKEditor - ok
Потом удалю, снова открываю Elfinder и меняю размер загруженной ранее картинки.
Вставляю в CKEditor, но отображается старая, видимо закэшированная... Как поправить?

Можно в Elfinder дополнительно переименовать файл после ресайза, тогда все нормально, но
хотелось бы сразу

@MihailDev
Copy link
Owner

кэш браузера это тяжко!
даже не знаю что посоветовать!

@zertex
Copy link
Author

zertex commented Nov 20, 2017

:) мне тяжко, честное слово...
Можно как-то к картинке параметр подписать, типа "?random_number" ?

@MihailDev
Copy link
Owner

MihailDev commented Nov 20, 2017

попробуйте добавить на страницу в заголовки

<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants