can you make sure that the browser caching rules have been added into the htaccess file please?
This is what I could find in the htaccess file:
<ifModule mod_headers.c>
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
</ifModule>
I am talking about the following rules.
# BEGIN LBCWpFastestCache
<FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|avif|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
<IfModule mod_expires.c>
AddType application/font-woff2 .woff2
AddType application/x-font-opentype .otf
ExpiresActive On
ExpiresDefault A0
ExpiresByType video/webm A10368000
ExpiresByType video/ogg A10368000
ExpiresByType video/mp4 A10368000
ExpiresByType image/avif A10368000
ExpiresByType image/webp A10368000
ExpiresByType image/gif A10368000
ExpiresByType image/png A10368000
ExpiresByType image/jpg A10368000
ExpiresByType image/jpeg A10368000
ExpiresByType image/ico A10368000
ExpiresByType image/svg+xml A10368000
ExpiresByType text/css A10368000
ExpiresByType text/javascript A10368000
ExpiresByType application/javascript A10368000
ExpiresByType application/x-javascript A10368000
ExpiresByType application/font-woff2 A10368000
ExpiresByType application/x-font-opentype A10368000
ExpiresByType application/x-font-truetype A10368000
</IfModule>
<IfModule mod_headers.c>
Header set Expires "max-age=A10368000, public"
Header unset ETag
Header set Connection keep-alive
FileETag None
</IfModule>
</FilesMatch>
# END LBCWpFastestCache
These are not entered in the htaccess
Should that have been done by the plugin?
yes. The “browser caching” option adds it. Can you save the settings of wp fastest cache again please?
I enabled that option and the headers are inserted now. Thanks for helping out.
You’re welcome š If you vote, it would make me so happy.
https://ww.wp.xz.cn/support/plugin/wp-fastest-cache/reviews/
Done! Keep up the good work!
Hello Emre
Now I have another site where the expires headers are not recognized by Pingdom (stating they are not there). But I see them in the .htaccess
How to solve?
https://www.harmonybygala.es/
Everything is ok. Do not worry about it. Pingdom does not show the details. Here is the result of google.