fdfrs97 Posted June 22, 2017 Share Posted June 22, 2017 Browser caching .htaccess not working for me. Please help. username: fdfrs97domain: fdfrs.org Quote Link to comment Share on other sites More sharing options...
Krydos Posted June 22, 2017 Share Posted June 22, 2017 Here is an example of preventing caching of a file using .htaccess <FilesMatch "dontcache\\.txt$"> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 1 Jan 2000 00:00:00 UTC" </FilesMatch> 1 Quote Link to comment Share on other sites More sharing options...
bdistler Posted June 22, 2017 Share Posted June 22, 2017 and you are using CloudFlare which will do caching 1 Quote Link to comment Share on other sites More sharing options...
fdfrs97 Posted June 22, 2017 Author Share Posted June 22, 2017 Thank you, problem solved. 👍 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.