You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Batara Kesuma <bk...@ml.gaijinweb.com> on 2004/04/07 04:09:52 UTC
[users@httpd] Caching page with session in cookie
Hi,
I want to cache the page generated by my backend server. But the problem
is, the page is unique for each user. The information of each user is
stored as session_id in cookie. So everyone is accessing the same URL,
but actually it is unique. It looks like:
http://www.domain.com/home.cgi
I am using Apache 2, and mod_proxy on the frontend. The frontend
redirects every .cgi to backend server which runs mod_perl. How can I
cache the page generated by backend server for each user? So user a
won't see the cache for user b, etc. Any suggestions?
Regards.
--Batara
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Caching page with session in cookie
Posted by geeky <ge...@ciscohelp.net>.
If most of the content of the resultant page is static content, and it
resides on the webserver, then most of it can be cached (static content
only). Caching dynamic content is tricky, and might be best left
implementing on the backend server in some way.
--
Simar
On Wed, 7 Apr 2004, Batara Kesuma wrote:
> Hi,
> I want to cache the page generated by my backend server. But the problem
> is, the page is unique for each user. The information of each user is
> stored as session_id in cookie. So everyone is accessing the same URL,
> but actually it is unique. It looks like:
> http://www.domain.com/home.cgi
>
> I am using Apache 2, and mod_proxy on the frontend. The frontend
> redirects every .cgi to backend server which runs mod_perl. How can I
> cache the page generated by backend server for each user? So user a
> won't see the cache for user b, etc. Any suggestions?
>
>
> Regards.
> --Batara
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org