Skip to Content Skip to Menu

Cache not working when users are logged in

  • 900010000
  • 900010000
  • OFFLINE
  • Posts: 28
  • Thanks: 2
  • Karma: 0
9 years 5 months ago #264224 by 900010000
Hi,

When users are logged in, they are not being shown cached pages. The fresh page is being loaded each time, which is slowing the site down. When users are not logged in, they are getting the cached pages. An inmotionhosting article here explains the test they did with Joomla, which verifies this, and it is also what I see when I test.

How can we get logged in users to be given cached pages to speed up the site?

Thanks!

Warm regards,
Joseph

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264254 by krileon
Replied by krileon on topic Cache not working when users are logged in
CB purges page cache on CB pages. This is done on purpose as the page cache will break CB due to out of date session tokens used for spam prevention on all our HTML forms. Caching also causes significantly out of date information in dynamic environments. Caching is really only useful for static content. Content that rarely changes. For example Joomla articles are static and caching benefits them.

If you're having performance issues you need to solve the performance issue it self. Using caching is like putting a bandaid on a broken bone. This is typically done by profiling the site using xDebug Profiler to see what exact function is slowing it down. You also need to ensure you're not over exhausting your servers resources. A shared host isn't going to handle 20-50+ extensions being installed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • 900010000
  • 900010000
  • OFFLINE
  • Posts: 28
  • Thanks: 2
  • Karma: 0
9 years 5 months ago #264274 by 900010000
Replied by 900010000 on topic Cache not working when users are logged in
Thanks for your excellent support!

Warm Regards,
Joseph
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum