Greetings,
We had a problem where apache was not routing ismorphic .js requests to the tomcat server, so the FileDownload servlet wasn't being used. So we were getting the files delivered full size, not compressed. However, the browser did cache them.
Now I've corrected the routing and the FileDownload servlet is sending the gzipped .js files. But the browser never caches them. The servlet is expiring them. I saw a thread on this here once, but I'm unable to find it now. I seem to recall there was a patch for it.
HTTP/1.0 Expires Header is present: Mon, 14 Jun 2010 15:27:57 GMT
HTTP Last-Modified Header is present: Wed, 04 Nov 2009 19:50:45 GMT
Can anyone help?
Thanks,
S
We had a problem where apache was not routing ismorphic .js requests to the tomcat server, so the FileDownload servlet wasn't being used. So we were getting the files delivered full size, not compressed. However, the browser did cache them.
Now I've corrected the routing and the FileDownload servlet is sending the gzipped .js files. But the browser never caches them. The servlet is expiring them. I saw a thread on this here once, but I'm unable to find it now. I seem to recall there was a patch for it.
HTTP/1.0 Expires Header is present: Mon, 14 Jun 2010 15:27:57 GMT
HTTP Last-Modified Header is present: Wed, 04 Nov 2009 19:50:45 GMT
Can anyone help?
Thanks,
S