Click to See Complete Forum and Search --> : META tag problem


yimeiakf
04-21-2003, 09:30 AM
I have a J2EE web application that uses the Struts framework. I do not wish that the web pages it displays retrieves from the cache, therefore I put in the meta tag that states:

<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">

However, it does not always work well because certain requests of the same URL do not set the expiry date for the page. I need to "Refresh" (by clicking the reload button of IE) the page a few times before the expiry date is then set. Why is it so? Can someone please advise. Thanks.

Yi May

khalidali63
04-21-2003, 12:05 PM
I remember reding quite somet time ago that
<meta http-equiv="Expires" content="-1">

"Expires" does not work with proxy cache,Other then that the only thing I can see is that documentation all over the internet all say content="0",I'll be really surprised to see if this has some thing to with it,but you can always try.


:D