Keyword

cache problem with 2.10.3

More
4 months 1 week ago #176577 by Bob Whitlock
Replied by Bob Whitlock on topic cache problem with 2.10.3
That worked! Thank you so much. So I think I understand why that fixed it but please let me know if I'm right (who knows, maybe some day I'll understand the code enough to contribute). The recent update had some code to set the last_modified header based on article dates, so that updates are still picked up with caching on. However, if caching is turned OFF, it actually hinders in some cases because Joomla by default sets last_modified to current date and time - which makes the page _always_ look new.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
4 months 1 week ago #176588 by Fotis
Replied by Fotis on topic cache problem with 2.10.3
The current feature assumed the page to always be cached, as an automated performance feature (so to speak).

But I understand there are obvious cases that this might cause issues, so it's best to make it optional.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

More
3 months 1 week ago #176764 by Jack Hughes
Replied by Jack Hughes on topic cache problem with 2.10.3
Hey I just wanted to report about this caching issue. I was having issues with Roksprocket module not showing new k2 items if the k2 items were created from the frontend. To get Roksprocket to display a new k2 item either things had to be done 1) the k2 item had to be saved from the backend OR 2) the browser cache had to be cleared.

Fotis, I commented out the two lines of code you referenced in your reply. That worked.

Thanks

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 1 week ago #176777 by Fotis
Replied by Fotis on topic cache problem with 2.10.3
The issue is probably related to where the module is showing content. If the module is loaded on an item page in which the item's content has not changed, then yes, it would be cached by the browser due to the headers the item itself would emit to the browser. In any case, if the caching is low, e.g. a few mins, then after that time the new content in the module would of course show up. If you're testing things though and wish to instantly see the changes but don't mind if the content loads later to actual users, then you can always hit Ctrl+R or Ctrl+Shift+R to force the browser to re-fetch the page and ignore caching headers.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum