tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Johnson <pe...@wizardslair.net>
Subject Re: simplest way to cache jsp pages into built "static" files?
Date Tue, 07 Dec 2004 22:18:17 GMT
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 wrote:

> 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 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 requested. A typical Blogpage could work better with
>> this scenario, I suppose many Blogs work like that.
>>
>> What technologies and/or methods would be a good idea to look at? I 
>> don't want to spend money for licenses at this stage as there is none
>> or at least close to that. Also, it should be as simple and non
>> demanding, concerning setup and hardware, as can be without compromising
>> basic functionality.
>>
>> If you know a good article, online resource or book on the subject or if
>> you otherwise can advice, I'd be very interested to know. Deployment 
>> will
>> probably be on Mac OS X Server 10.2.6 and Apache 2.0.48 with Tomcat 
>> 4.1.24.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message