Keyword

Cache Problem in K2

  • Inayathullah Syed
  • Inayathullah Syed's Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 month ago #177199 by Inayathullah Syed
Cache Problem in K2 was created by Inayathullah Syed
Hi,

Even though I replace images not reflecting on website, it is still showing old image. All Old images are storing in below cache folder. Please let me know how to disable this caching from K2.

media/k2/items/cache

Regards,
Inayath

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

More
4 years 1 month ago #177213 by JoomlaWorks
Replied by JoomlaWorks on topic Cache Problem in K2
You are probably using a CDN like CloudFlare. K2 item images' filenames don't change as they are tied to the item's ID.

What you need to do is enable the option "Force 'item modified date' as URL timestamp on image paths" in the "Images" tab of the K2 component settings.

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

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

  • Inayathullah Syed
  • Inayathullah Syed's Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 month ago #177224 by Inayathullah Syed
Replied by Inayathullah Syed on topic Cache Problem in K2
Thank you so much for your support.

I verified under Images I already enabled in my system in Advance Setting Force Item Modified Date, but still having same problem. How to disable this caching from K2.

Regards,
Inayath

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

More
4 years 1 month ago #177230 by JoomlaWorks
Replied by JoomlaWorks on topic Cache Problem in K2
If that option is enabled and you modify a K2 item to change its image, yet you don't see the change, the problem is most likely somewhere else.

If you have CloudFlare, make sure caching is set like this: jmp.sh/LLHy3zL

If "ignore query string" is what you have now, this would explain why you don't see any change...

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