You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sean Carey <se...@gmail.com> on 2006/03/28 21:07:08 UTC

[users@httpd] weird caching problem

Here We Go:

I am using apache 2.2 , mod_jk 1.2.15, Tomcat 5.5. The application
that I am working on basically has 1 filename.

s.jsp

but.....

There are tons of parameters that are used on the file to make it
dynamic. The problem I am having is that the apache server or mod_jk
thinks its the same request, so I get major cache problem that cause
the page to be skewed.

If I add response header no-cache and restart the app it works fine.
The company that I am consulting does not want to use a no-cache
response header. So I am wondering if there is a way in apache to make
sure I am properly getting s.jsp through mod_jk. Any help would be
appreciated.

Sean

---------------------------------------------------------------------
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] weird caching problem

Posted by Antoine Prevosto <an...@gmail.com>.
Hi,

I guess that if the app (or anything else) doesn't send a no-cache header,
or a max-age header, or a session cookie, the .jsp page will be served by
the client browser cache, and will not be even received by the HTTP Server.

Rgds
Antoine.

2006/3/28, Sean Carey <se...@gmail.com>:
>
> Here We Go:
>
> I am using apache 2.2 , mod_jk 1.2.15, Tomcat 5.5. The application
> that I am working on basically has 1 filename.
>
> s.jsp
>
> but.....
>
> There are tons of parameters that are used on the file to make it
> dynamic. The problem I am having is that the apache server or mod_jk
> thinks its the same request, so I get major cache problem that cause
> the page to be skewed.
>
> If I add response header no-cache and restart the app it works fine.
> The company that I am consulting does not want to use a no-cache
> response header. So I am wondering if there is a way in apache to make
> sure I am properly getting s.jsp through mod_jk. Any help would be
> appreciated.
>
> Sean
>
> ---------------------------------------------------------------------
> 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
>
>