Keyword

Caching? Changed images dont' appear on browser

More
12 years 11 months ago #57241 by Guido
when I change an image in 'Edit Item', it does not appear after pressing 'Preview', instead the former (replaced) image still is shown. (Text changes however are shown immidiately.)
After some minutes, the change takes effekt and the new picture appears.

Is there any known time delay during an image-change and it's actual appearance in the browser?

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #57242 by troponin
What about your Joomla Cache ? Activated ? Or some other Cache 3rd Party ?

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #57243 by Guido
In joomlas 'Global Configuration.System' cache ist disabled.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #57244 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Caching? Changed images dont' appear on browser
You see the same image because the image file is still the same and the browser thinks it's still the same image. Of course this doesn't happen forever. It depends on the browser and could take up to a few minutes for it to recognize the changed image, through the image's headers sent...

Anyway, since this was a problem high-traffic sites dealt with, we added this new option in the K2 parameters (in v2.5.0), which attached the item modified date to the name of the image file, thus forcing the browser to fetch the changed image.

In the backend, open the K2 parameters, switch to the "Images" tab, set "Force 'item modified date' as URL timestamp on image paths" to "Yes". Save.

Now you won't see this issue again.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum