caching dynamic pages
Herald van der Breggen <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[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