Re: How do i cache a JSP on the proxy?

2001-06-11 Thread Eduard Witteveen
Kesav Kumar [EMAIL PROTECTED] wrote: Yes. Oscache provides a proxy independent caching solution. This is nice and once can have programtically control over the caching. The only drawback(or good for some one) in the current implementation is all caching is memory based. All the caching is

Re: How do i cache a JSP on the proxy?

2001-06-11 Thread Johan Fredriksson
Title: RE: How do i cache a JSP on the proxy? what about % if ( (System.currentTimeMillis()/1000) % 15 ) counter = 0 ; % That is, you first make sure that the time is rounded down to closest second and see if that is divisable by 15, and then resetting counter Or did I

RE: How do i cache a JSP on the proxy?

2001-06-08 Thread Kesav Kumar
Title: RE: How do i cache a JSP on the proxy? I think your getLastModified() logic is not proper. You are sending lastmodified time as current time*15 which means the lastmodification time is newer the proxy thinks that this page got changed. Try this logic public long getLastModified

Re: How do i cache a JSP on the proxy?

2001-06-08 Thread Eduard Witteveen
Kesav Kumar [EMAIL PROTECTED] wrote: I think your getLastModified() logic is not proper. You are sending lastmodified time as current time*15 which means the lastmodification time is newer the proxy thinks that this page got changed. Try this logic Your correct, i made a terrible

Re: How do i cache a JSP on the proxy?

2001-06-08 Thread Stan Ng
This is slightly off-topic, but you may want to look into OpenSymphony's OSCache module. It provides a variety of caching options for JSP and it's been working great for us here. - Original Message - From: Eduard Witteveen [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: