Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Caching html
Name: chrismr Date: August 23, 2007 at 12:20:20 Pacific OS: XP CPU/Ram: P4 Product: SELF
Comment:
I host my own web page, www.chrismr.com If I update a page and view it in a browser, I will not see the changes unless I refresh the page in the browser. Is there a way to have the newer page load automatically instead of the page that is in the person's cache if they have visited it b4?
Name: mie2com Date: August 24, 2007 at 16:42:44 Pacific
Reply:
i just learn this a few thread before. u need to set cache control to no-cache, last modified to mon, 26, 1997 ..gmt. here's an article that might assist you to choose which cache-control is suitable for you. hope that's help.
Summary: Your design seems extremely similar to mine :) I also write my own html, but with gedit on linux, it has syntax highlighting (makes it much easier to spot simple mistakes). I like your approach, and y...
Summary: Update: Just to add if anyone has the same problem, I found out that putting this line: response.setHeader("Cache-Control","no-store"); before any html text in the JSP file seems to stop the caching i...
Summary: i have an html form, that has a pull down menu, that looks something like this: <form action="something.php" method="post"> <select name="var1"> <option value="choice1">Choice1 <option...