Okay, I think there is still some confusion here as to what I am shooting
for. Ideally, I would like a system where the static parts of the page are
cached. I have recieved several mails suggesting that items such as the
header/footer can be turned into compiled print() statements as part of
the caching mechanism, but my concern is that 

a) You have to wait for it to generate the first time every time the
server is restarted. Granted, this is not too big of a deal. BlueMartini
(a product I was working with) is based on top of Weblogic and was so slow
that they had to create a tool to walk the tree to preload all the pages
into memory. Ugh.
b) HTML AFAIK only lets you set the pragma=no-cache on a per page level so 
the "static" portions of the page will not be cachable by systems such as
Inktomi's Traffic Server.

So essentially, what would be nice would be a system which is
cache-friendly (not server side) which at the same time is able to present
dynamic content. This I think would certainly help in the needless
representation of data that happens all the time today. 

Imagine, you go to a site with similar look and feel and once the
templates hit your browser, they can stay cached and only have the dynamic
bits fed to you. Faster surfing is good :)

--Jauder



On 28 Jul 2000, David Hodgkinson wrote:

> 
> Jauder Ho <[EMAIL PROTECTED]> writes:
> 
> > The template may be kept in memory but it needs to be reparsed to insert
> > real values, no? What I would like to see is a way to say the template is
> > static (header/footer) and does not need to be reparse/regenerated each
> > time and comparitively small portion of the page be dynamic. This way, you
> > can also store the html on the front end web server or akamize it and
> > concentrate on having the app servers provide only the actual data. 
> 
> If you want the resultant page to be cached, you can do this with a
> scary mod_rewrite mode.
> 
> -- 
> Dave Hodgkinson,                             http://www.hodgkinson.org
> Editor-in-chief, The Highway Star           http://www.deep-purple.com
>       Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
>   -----------------------------------------------------------------
> 
> 

Reply via email to