Answer the question
In order to leave comments, you need to log in
How to cache a site?
Google PageSpeed Insights recommends caching to me
but I only have 6 pages on my site and there is no engine.
What and where should be registered as a setting to be caching for a period of a month?
placed in the root of the site .htaccess
with the following content
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question