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
<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