fdfrs97 Posted June 22, 2017 Posted June 22, 2017 Browser caching .htaccess not working for me. Please help. username: fdfrs97domain: fdfrs.org
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
bdistler Posted June 22, 2017 Posted June 22, 2017 and you are using CloudFlare which will do caching 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now