Re: caching dynamic pages

Soren Erichsen <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Hi Herald,

If what you need is serving semi-static output from perl scripts. Then a 
solution
might be to let cron run the scripts every 12 hours, and let Tux serve 
them as
static html. No need for advanced solutions :)
--
Søren Erichsen
[email protected]

>
> Subject:
>
> caching dynamic pages
> From:
>
> Herald van der Breggen <[email protected]>
> Date:
>
> 09 Jul 2002 08:50:28 +0200
> To:
>
> [email protected]
>
>
>Hi,
>
>I have Tux running on a RH7.3 system. Tux listens on port 80 of an IP
>alias on eth0. Clientport is 8080 and apache (with mod_perl) is
>listening on it. Virtual hosting is switched on.
>
>This works fine. Pages that are not found in the documentroot of Tux are
>sent to Apache and are handled correctly.
>
>So far so good.
>
>Since, in my case, a lot of dynamic pages are not very dynamic, I would
>like to cache them for maybe 12 hours or so. The reason to try Tux was
>the it should be able to cache dynamic pages. I have read
>http-cache-control.html more than 100 times and tried a lot of
>variations. I modified /etc/tux.mime.types, played with Cache-Control
>headers (including max-age) etc, but did not succeed to serve a cached
>dynamic page.
>
>The tux.README is also discussing caching of dynamic pages, but does not
>tell how to achieve this. 
>
>Can anyone explain me how to achieve caching of dynamic pages with Tux?
>
>Thanks,
>Herald
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.