On 12 Jul 2000 [EMAIL PROTECTED] wrote:
> Hi,
> The module would handle the requests before any other modules and check
> in its database if there is a cached page for that request uri. If the
> page is cached, it will send the cached page and return DONE. If the
> page is not cached, it will let Apache handle the request normally, but
> it will cache the output in disk before sending it to the client.
> This is simple and could be done with a proxy server instead of an
> Apache module, but the cache must be cleaned whenever the page is
> changed. I want to make this module and make an interface to clean the
> cache when the page is updated.
> For example, you have a page that is generated from a database that is
> update by an administration program, and the page is updated every day,
> but re-generated every request. You just need to put some config lines
> in you httpd.conf to make my module cache the page, and add to the
> administration program some lines to remove the cache of the page X that
> have the parameter var=value in the QUERY STRING when it updates the
> database.
> Do you think it can be done with existing modules or is it worth doing
> a new module?
> Thanks.
> []s
> Luis
>
Hi,
You may want to look at CGI::Cache module before writing new code.
----------------------Alchevsk Linux User Group-----------------------
I don't call, I don't cry , I don't apologize
All will be gone like an apple tree's white smoke... (S.Esenin)
http://www.ic.al.lg.ua/~ksv | e-mail: [EMAIL PROTECTED]
PGP key: finger [EMAIL PROTECTED]