Topic-icon SClogin with Joomla Browser Cache in System Cache Plugin

Active Subscriptions:

None
Hi, I have a issue that only appear when Joomla browser cache is enabled.

The problem is after you login and visit pages that are previously cache by the browser, the page load from the cache will not show that you are login. it will still show the login button.

If you clear the browser cache and reload the page, it will show that you are log in. I am not sure if you understand what i mean. Is there a solution that when a user login, all browser cache will expire so that all pages are reloaded to show the user has successfully login? Else the system will fetch pages that show you are not log in.

Is there a way to walk around this?

Regards
Arctic
The topic has been locked.
Support Specialist
No, there's no way to do what you're looking for. The browser cache option should only be used on sites where you do not perform authentication. If you do authentication, there's no way for the browser to know that the page being loaded is different from the cached copy.

The System - Cache plugin is disabled by default for just this reason.. it can cause issues in many different scenarios. In addition to that, the Browser Caching option is also disabled by default. Browser caching is only recommended for very select sites where content doesn't change often and never on a per-user basis.

Just to note, you'd have the same results with the standard Joomla Login module.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #43454 by arctic
Thanks Alex for explaining.
The topic has been locked.
Support Specialist
No problem. I'm glad to help however we can. If you have any other questions, just let me know.

Finally, if you haven't already, please consider leaving a rating and review for SCLogin, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/access-...authentication/24054

Thanks,
Alex
The topic has been locked.