- bbailey1

The Graduate College has a lot of forms for download off of our website and we are encountering a problem when we update a Word document. After we update a document, save it with the same name, and upload it into place, the website still pulls up the cached version of the document. This seems to be happening in both IE and FF. The only way to access the latest version is to clear the cache. When updating, if we change the name of the document, we avoid this problem, but in case students / departments are linking directly to the file, we would like to keep the same file name.
Has anyone else encountered this issue, and if so, what have you done to remedy this?
Found an answer to my own question:
Create an .htaccess file with the following code:
# Force no caching for dynamic files<FilesMatch "\.(doc|pdf)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
place this file in the folder with your documents.
voila
Thanks for posting this! We were having this problem with .xls files too, so I added that extension as well for our site.