How to add expires headers
-
THIS IS THE ISSUE POP-UPS IN GT-METRIX
1.
https://fonts.googleapis.com/css?family=Montserrat%3A400%2C%2C500%7CLibre+Baskerville%3A400%2C&display=fallback&ver=2.4.52.
https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js3.
https://www.google-analytics.com/analytics.js4.
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.jsI AM CURRENTLY USING THIS IN MY htaccess file
## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 month" </IfModule> ## EXPIRES CACHING ##How to fix above problem should I add something in my htaccess file?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to add expires headers’ is closed to new replies.