Hi @innovativezome
I hope you are doing well today.
Can you add those rules manully to your htaccess file and see if that helps?
<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|woff2|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|woff2|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>
Kind Regards,
Kris
My .htaccess file already contains same code.
On top of it, I am getting this error Gzip is not working properly:
Although Deflate module is enabled in my Apache2 server.
Hello @innovativezome,
Could you please check if your server is connected to a CDN, e.g. CloudFlare.
Some hosting providers and services like CloudFlare may have Brotli compression enabled. Currently, Hummingbird can’t detect Brotli compression, so it will display a warning.
You can verify if that’s the case with your site using an online tool like this one:
https://www.giftofspeed.com/gzip-test/
If you get “Brotli Is Enabled“, then Gzip compression won’t be required.
If the server is connected to CloudFlare CDN, then the browser caching options can be adjusted in the CloudFlare panel:
https://prnt.sc/jhfTwktURgGS
or in Hummingbird, after configuring CloudFlare integration (Hummingbird >> Browser Caching >> Integrations).
If you’re not sure whether the server is connected to a CDN service like CloudFlare, you can either check it with the hosting support, or find your domain’s NS records with this tool: https://dnschecker.org/
– select NS in the dropdown list, and press the Search button: https://prnt.sc/xuhXqdp-_-Vs
Please let us know if the above suggestions helped, or if there’s still any issue.
Best Regards,
Dmytro
Hi @innovativezome,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.
Regards
Nithin