V
V
v7resspect2015-07-27 11:55:52
PHP
v7resspect, 2015-07-27 11:55:52

HTTP caching does not work, who can tell me how to set it up?

I set up caching for this article from pafnutia . But the Google test still writes FIX MANDATORY: Use the browser cache.
Then I tried to put the following code in .htaccess:
Header set Cache-Control "max-age=2592000"
It didn't help anyway. How do I fix this and still enable HTTP caching?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ivanov, 2015-07-27
@Writerim

ExpiresByType text/html "access plus 0 seconds" can look here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question