Hi,

the next alpha release of Embperl 2.0 will have the ability to generate
Expired/Last-Modified headers and handle if-modified-since requests. The
programmer has to provide the time (in seconds) when a document should
expires and/or can provide a function, that tells Embperl if a document has
expired. Upon this data Embperl generates the headers (as far as possible)
and caches the output of the document (or subcomponent). Cacheing is already
working in the current alpha realase (2.0a16) and the http header stuff is
the next I plan to do.

I don't know if this is very usefull for a more general Module, because it's
all written in C and uses Embperl's internal DOM storage, but on the other
side Embperl 2.0 will not only be able to process his own syntax, but also
plain Perl, XML (e.g. XSP), and other custom syntaxes (e.g. SSI and others).

Gerald




----- Original Message -----
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2000 4:26 PM
Subject: [RFC] Apache::Expires


> hi all...
>
> I was wondering if anyone has some experience with expire headers for
> dynamic documents - kinda like mod_expires but for dynamic stuff.
>
> why?  well, say I have a handler that creates, say, a css document on the
> fly based upon fields in a database.  the css contents won't change
> regularly (if ever) but every request results in dynamic processing.
> Wouldn't it be nice to be able to cache dynamic results if I say it's ok?
>
> (yes, one could just spit out a static document weekly or whatever, but
> that's not the point of this discussion, ok :)
>
> anyone else see an interest in an Apache::Expires (or whatever)?  Is there
> something out there already?  I was thinking of working on it if there is
> nothing out there, but it would require lots of RFC reading and wrestling
> with stuff like entity tags...
>
> comments/experiences welcome...
>
> --Geoff
>
>


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


Reply via email to