J2EE Application Caching Problem
807603Feb 25 2008 — edited Feb 25 2008hi,
I'm trying to troubleshoot a problem which I believe has something to do with caching, but I've been trying for a couple of days now and I still cannot figure it out. I have the same j2ee web application deployed on two different windows 2000 servers: a development server and a test server. But, when I try to access both the applications from a browser, one works absolutely fine and the other one results in a "page has expired" error everytime I hit the back button on the browser. This happens in a regular http connection.
I understand that the "page has expired" problem is a known issue in IE (that too I believe in older versions), I'm using IE 6. But the main thing is that the same application on one server works fine, and the other one results in this error. I tried to debug, compared all the request headers being exchanged between the client and the server using Fiddler, and everything is the same. I have only one clue and I think its a legitimate one: I checked my cache after accessing the application from the server that works fine. I see in my cache a good number of cached files.
Then I cleared my cache, and accessed the application from the server that does not work fine. I see a very few number of cached files (mainly .gif's). It makes sense that if the page is not cached, I get the "page has expired" error. However, I have verified it is the same code that's running on both the servers, the request headers are the same. Is there something else that I should be looking for? Any guidance will be greatly helpful. Thanks!