D
D
Dmitry2016-06-17 09:14:51
Joomla
Dmitry, 2016-06-17 09:14:51

Why is a cached page loading?

There is a site on Joomla 3, standard caching is included.
Caching works in a very strange way on the site. For example, this is what the browser gives out if cookies have not been cleared in it for a long time. 3efeb5bfe3a14626a53a26512f3c45c5.jpgThat is, this is a page with content 3 months ago.
And this is how the site looks now. b9686d8bed4444dd810be9b621d3dd02.jpg
If you clear the browser cache, the page will display as it should, the ctrl + F5 method also works, but a regular user will not do this.
Caching is forcibly disabled in the modules working on the site. If you disable caching in Joomla itself, then this also does not solve the problem in any way (the page will be loaded as in the first screenshot).
As I understand it, caching occurs on the browser side, and what is it that if a user enters the site, and then again after 3 months he enters again, then he will see the same thing as 3 months ago.
Those who know, tell me, please, what is the problem and possible solutions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2016-06-17
@losttheory

Hello, look at the .htaccess file at the root of the site, find a line like this
ExpiresByType text/html "access plus 300 seconds" there,
most likely you have a different value there, set it to 300 seconds. This line is responsible for caching html pages. If it doesn't help, throw the whole .htaccess, I'll see what's the matter.
The problem with caching was solved by disabling the option "Use browser caching" in the plugin "System - cache"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question