fdfrs97 Posted June 22, 2017 Posted June 22, 2017 Browser caching .htaccess not working for me. Please help. username: fdfrs97domain: fdfrs.org Quote
Krydos Posted June 22, 2017 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
bdistler Posted June 22, 2017 Posted June 22, 2017 and you are using CloudFlare which will do caching 1 Quote
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.