Hi @tom80550
I hope you are doing good today.
This message means in most cases one of those things:
1) the server configuration must be updated (due to that module not being active or not being fully/properly configured)
2) or Hummingbird is not able to properly check the status of expiration
3) or there’s some conflict that’s causing issues.
Have you already contacted your hosting support and asked them if the mod_expires or ngx_http_headers_module module (depending on whether your site is served by Apache or Nginx) is active and is configured to allow you overwrite configuration via .htaccess file (apache) or Nginx config?
If not, please get in touch with them and ask them.
Kind Regards,
Kris
my hoster give me this : https://www.godaddy.com/community/Using-WordPress/Leverage-Browser-Caching/td-p/29929
message from my hoster :
1.I am in your account right now and could see you have Ultimate Managed WordPress Websites plan.
2.Sorry as it is managed WordPress hosting cache plugins are not supported here and mod_expires module is not enabled.
https://www.godaddy.com/community/Using-WordPress/Leverage-Browser-Caching/td-p/29929
Please open this link.
You could ask your developer to follow the suggestions given in this article to make Browser Caching work.
Hi @tom80550 thank you for following up.
From what I understand there are some limitations from the hosting side, however, we can test adding the configuration manually in the .htaccess file.
You will need to access your file manager through SFTP and search for .htaccess, once you locate it add the following code:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A0
<FilesMatch "\.(txt|xml|js)$">
ExpiresDefault A31536000
</FilesMatch>
<FilesMatch "\.(css)$">
ExpiresDefault A31536000
</FilesMatch>
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
ExpiresDefault A31536000
</FilesMatch>
<FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
ExpiresDefault A31536000
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(txt|xml|js)$">
Header set Cache-Control "max-age=31536000"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "max-age=31536000"
</FilesMatch>
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
Header set Cache-Control "max-age=31536000"
</FilesMatch>
<FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
Header set Cache-Control "max-age=31536000"
</FilesMatch>
</IfModule>
Hope this helps and let us know how it goes.
Regards,
Jorge
Hello @tom80550 ,
We haven’t heard from you for several days now, so it looks like you were able to make it work.
Please feel free to re-open this ticket if needed.
kind regards,
Kasia