Whate3v3r wrote:
I am running Resin 3.1.0 on a Windows server and I have tried to increase
my JVM values both in the resin.conf file,
lt;jvm-arggt;-Xmx128mlt;/jvm-arggt;-
and in the command line arguments when installing Resin as a service.
(httpd -install -Xmx128m).
In both
Every time resin (3.1) 'renders' a JSP file, it calls getLastModified on
that file. Is it possible to turn it off? This check takes about 30% of the
processing time, when there are a lot of jsp:include tags on the page.
I've tried to change dependency-check-interval, but with no luck...
I 'fixed' it by adding these couple of lines to Page.java - pageservice
method:
long lastModified;
if ((_lastModified = 0) || (now _lastUpdateCheck + _updateInterval))
{
lastModified = getLastModified(req);
}
else {
lastModified = _lastModified;
}
instead of:
Jean-François,
This is the best write-up I've seen on how browsers and proxy servers
cache:
http://www.mnot.net/cache_docs/
Then once you know what you want in headers, this page is a good
discussion of the various browser and server-side caching features in
Resin 3.1:
On May 17, 2007, at 10:02 AM, Jean-Francois Lamy wrote:
I am trying to understand how resin, apache and proxies interact with
respect to caching.
I have a jsp page which is meant to be always dynamic; headers are
used to
prevent it from being cached.
However, the page loads js, css, and