I always update a lot of PDF files on the www.puc.edu website. I do the update, then let the person know that it has been updated. Then, they inevitably check the file, and email me back letting me know that the files is NOT updated. So, I check it in Matrix and yes, it has a recent upload date, and the file is fine and updated when I preview it.
I suspect that there is some annoying caching going on with our __data files, and am wondering how I can prevent browsers from caching these? I just want users to ALWAYS be able to get the most recent __data files. We use Squid.
Here is the header for one of the PDF files:
http://www.puc.edu/__data/assets/pdf_file/0008/67778/Assessment-Report.pdf
GET /__data/assets/pdf_file/0008/67778/Assessment-Report.pdf HTTP/1.1
Host: www.puc.edu
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://www.puc.edu/academics/departments/business-administration-economics/accreditation
Cookie: __utma=187764009.1655779419.1338400422.1347045986.1347048139.62; __utmz=187764009.1345149796.44.5.utmcsr=Marketing|utmccn=Homepage%20Image%20Link:%20Biology%20Department|utmcmd=email; nmstat=133883177802471644; SQ_SYSTEM_SESSION=m7lehhak2ng0jup9jl39ef3je1; __utmc=187764009; __utmb=187764009.11.10.1347048139
HTTP/1.0 200 OK
Last-Modified: Thu, 08 Dec 2011 21:23:02 GMT
Accept-Ranges: bytes
Content-Length: 350021
Content-Type: application/pdf
Date: Wed, 05 Sep 2012 21:58:22 GMT
Server: Apache/2.2.16 (Debian)
Etag: "15955f-55745-4b39b45f79980"
Age: 166902
X-Cache: HIT from proxy.puc.edu
X-Cache-Lookup: HIT from proxy.puc.edu:80
Via: 1.1 www.puc.edu:80 (squid/2.7.STABLE9)
Connection: keep-alive
----------------------------------------------------------
Why is the last modified date so old, even though the file HAS been updated? Cleared the Squid cache and nothing changed.