AW: The never ending story: Turning caching off --- Oooops

2001-08-27 Thread Matt Raible



This message is in response to posting http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12450.html

Which one of these solutions worked for 
you?

Thanks,

Matt


AW: The never ending story: Turning caching off --- Oooops

2001-07-25 Thread Holger Wiechert



Sorry, 
I just figured out, that the time stamp stuff works.
But I 
figured out another problem, that made me blind for understanding the cache 
problem.
I'll 
post it soon.



  -Ursprngliche Nachricht-Von: Holger Wiechert 
  [mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 25. Juli 2001 
  17:25An: [EMAIL PROTECTED]Betreff: The 
  never ending story: Turning caching off
  Hi everybody,I was looking for a solution for the all time favorite 
  "Caching Problem" (in IE).I found a couple of "solutions, like:
  
  1) Having the following lines in the JSP:response.setHeader("Pragma", 
  "NoCache");response.setHeader("Cache-Control", 
  "no-cache");response.setDateHeader("Expires", 1);
  
  2) Turning "nocache" on for the 
  ActionServlet:init-param 
  param-namenocache/param-name 
  param-valuetrue/param-value/init-param
  
  3) Adding an unique parameter to the get/post, like 
  System.currentTimeMillis()
  
  See http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03176.htmlto 
  that idea.
  
  One answer was, that usnig tokens is the key:http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02888.htmlBut, 
  correct me, if I'm wrong, what's the deal with tokens,when I don't want a 
  JSP to be cached?
  
  I tried all of them, but with no success. So, my question is: did I 
  misssomething or is it really just not possible?
  
  Thanks in advance,Holger