This is my code in my .htaccess file:
Header unset Pragma FileETag None Header unset ETag # cache images/pdf docs for 10 days <FilesMatch "\.(ico|pdf|jpg|jpeg|png|gif|js)$"> Header set Cache-Control "max-age=864000, public, must-revalidate" Header unset Last-Modified </FilesMatch> # cache html/htm/xml/txt diles for 2 days <FilesMatch "\.(html|htm|xml|txt|xsl)$"> Header set Cache-Control "max-age=7200, must-revalidate" </FilesMatch>
Link to my website if needed: http://www.awesomephp.nl/
I have tried a lot of tutorials but none of them seems to do the trick. By the way, other .htaccess codes, like redirecting and stuff, DOES work.

New Topic/Question
Reply



MultiQuote







|