Keyword

How works the K2 Cache for registered users?

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
2 months 1 week ago #171197 by roland
roland created the topic: How works the K2 Cache for registered users?
Hi, all my site was with access rights set to Public. I needed to change to force 100% of people to be register for SSO purpose. Joomla cache was enable till now like this:
  • cache handler: file
  • cache time = 150
  • conservative caching
  • System - page cache pluggin = disable

Mainly I have set all K2 categories to access Register. Performance has slowed down.

When I view Joomla 'Maintenance - Clear Cache (site)' the com_k2 does not show up anymore to be cleaned up although it was showing up when all was 'Public'.

Globally, what do I need to check to ensure that cache works well knowing that 100% of the visits will now be Register users.
Thanks
Roland

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 week ago #171209 by Fotis
Fotis replied the topic: How works the K2 Cache for registered users?
When a user logs into Joomla, all caching in Joomla is switched off. It's not just K2.


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.

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
2 months 1 week ago #171214 by roland
roland replied the topic: How works the K2 Cache for registered users?
oh! this will terribly slow down the pages and might be unacceptable in terms of performance.
What are your recommendations ?

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

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
2 months 1 week ago #171218 by roland
roland replied the topic: How works the K2 Cache for registered users?
Hi Tony,

For performance, for the frontend, how to override the calls to cdnjs.cloudflare.com files so that it loads these files from local server ?

br
Roland

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 week ago #171225 by Fotis
Fotis replied the topic: How works the K2 Cache for registered users?
First of all, even with caching off in Joomla, K2 still maintains a separate cache for items and categories when a user has no editing rights to the content. This is an extra caching layer in K2 only, it's not default component behaviour. But that's not enough obviously if you use other components, modules, plugins etc. All those will not be cached when a user login is detected.

As for your second comment, keeping the assets to the CDN is preferable as they are loaded faster (using an HTTP/2 connection and compression by default). I don't plan on changing that, but in v2.10 coming this month, the CDN will switch to jsDelivr which is GDPR-friendly.


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.

Moderators: william white

Powered by Kunena Forum