The pages get new content from a database from time to time.  We could code generate 
static html
and server this by apache, but generated files are so messy to work with.  The affx 
extension is a
whole ton of servlets chained together to add look and feel.  Its very easy to make 
changes that
affect the whole site, but its not so fast.  All the content and hyperlinking is data 
driven.  The
affx system is data driven and virtual.  Its like adding a bunch of stuff in the query 
string.  It
makes it easier for us to put urls in printed material and is easier to maintain 
because you can
think of the database records as real pages, even if its really only one jsp.

I added this.......

refresh_pattern affx            10      20%     60 ignore-reload override-expire

and it seems to work well.  like I said.  I'm new to using a web cache.  I think it is 
much better
solution than generating a ton of files 2 or three times a day.

Thanks for all your ideas

Andy

--- "Blaser, Shane" <[EMAIL PROTECTED]> wrote:
> The pages you push ther are just html or are they jsp ???
> 
> Can you just create static html plages rather than jsp ??
> 
> -----Original Message-----
> From: Andy Kimbrough
> To: [EMAIL PROTECTED]
> Sent: 3/27/2003 8:47 PM
> Subject: [squid-users] problems caching jsp pages
> 
> I'm new to squid.  I am trying to use squid to speed up pages that are
> jsp on the back end.  They
> are data driven, but not dynamic in that they only change once per day
> when we push the site. 
> Every page url is unique and does not rely on url params.  I can not get
> squid to cache the pages.
>  Example
> 
> http://server/index.affx
> 
> I have set this stuff
> 
> refresh_pattern .affx          10      20%     60
> 
> and
> 
>   response.setDateHeader ("Expires", 600000);
>   response.setHeader ("Cache-Control", "public");
> 
> Am I missing something?
> 
> Andy Kimbrough
> 
> =====
> http://www.animekat.com
> I've moved my site!!
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> 
> .


=====
http://www.animekat.com
I've moved my site!!

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

Reply via email to