How do I get a newsletter pdf that I have a link to not to cache? Some users do not know about refreshing pages and keep seeing the old version. Can I force the PDF either to reload fresh or not to cache at all?
How do I get a newsletter pdf that I have a link to not to cache? Some users do not know about refreshing pages and keep seeing the old version. Can I force the PDF either to reload fresh or not to cache at all?
Add the following to your .htaccess file
This should turn off all caching.Code:<FilesMatch "\.pdf$"> FileETag None 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, 11 Jan 1984 05:00:00 GMT" </FilesMatch>
Nothing is always absolutely so.