What's the simplest way of caching jsp-generated pages, built by Tomcat
4, so that Apache 2 serves most of these (except a few) as static (but
rebuildable) pages even as the address ends in .jsp? The exception
being when the dynamic portion of a page needs to be built just right
after the page is
Have your JSP provide some expiration data headers and then mod_cache might
do the trick ...
http://httpd.apache.org/docs-2.1/mod/mod_cache.html
-Tim
Mieke Banderas wrote:
What's the simplest way of caching jsp-generated pages, built by Tomcat
4, so that Apache 2 serves most of these (except a
I was looking into this option as well but one must be careful about
session IDs if they are used as the cached page will contain the cookie
header.
We use a background process on the server to generate files every 60s
and use a -s rewrite condition and then rewrite rule to serve.
PJ
Tim Funk
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 5:18 PM
Subject: Re: simplest way to cache jsp pages into built static files?
I was looking into this option as well but one must be careful about
session IDs if they are used as the cached page will contain the cookie
header.
We use a background
much.
Doug
www.parsonstechnical.com
- Original Message - From: Peter Johnson
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 5:18 PM
Subject: Re: simplest way to cache jsp pages into built static files?
I was looking into this option as well