On Thu, 26 Feb 2004, Frank Maas wrote: > I am running a setup with a webserver, a proxy and the clients. Clients > request a page through the proxy and the webserver creates every page > on the fly. For this it uses SSI together with a template .shtml and > (via subrequests) several dynamic mod_perl scripts or content files. > Now for the large part of the requests the pages should be updated > every minute or so, so they are cacheable.
Who does SSI process - proxy or webserver ? > But... the content within the page is dependent on the user having > authenticated himself or not. The authentication is handled via > cookies. If a user is authenticated he gets a different page, using > the same URL. > Now my question: is there a way to (trick) use the caching facilities > of the proxy server (apache)? The normal setup won't work, since it > will serve "authenticated" pages cached under the URL to > not-authenticated users requesting that URL. mod_accel allows to take into account the cookies while the caching: AccelCacheCookie <cookie_name> Igor Sysoev http://sysoev.ru/en/ -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html