How to not store *specific* page(s) in temporary internet files?http://forums.asp.net/t/1575058.aspx/1?How+to+not+store+specific+page+s+in+temporary+internet+files+Sun, 04 Jul 2010 02:20:40 -040015750583957117http://forums.asp.net/p/1575058/3957117.aspx/1?How+to+not+store+specific+page+s+in+temporary+internet+files+How to not store *specific* page(s) in temporary internet files? <p>I have a problem only in IE where my JQuery filetree cannot be refreshed unless the browser is closed, or temporary internet files is deleted via Tools -&gt; Internet Options</p> <p>Anyone know of a way so that this particular page never gets cached into temp internet files?<br> <br> I've tried &nbsp;putting this in the header</p> <p></p> <pre class="prettyprint">&lt;asp:Content ID=&quot;Content3&quot; ContentPlaceHolderID=&quot;CacheHolder&quot; runat=&quot;server&quot;&gt; &lt;META HTTP-EQUIV=&quot;PRAGMA&quot; CONTENT=&quot;NO-CACHE&quot;&gt; &lt;TITLE&gt; Pragma No-cache &lt;/TITLE&gt; &lt;/asp:Content&gt; &lt;body&gt; CONTENT HERE &lt;asp:Content ID=&quot;Content4&quot; ContentPlaceHolderID=&quot;CacheHolderFooter&quot; runat=&quot;server&quot;&gt; &lt;HEAD&gt; &lt;META HTTP-EQUIV=&quot;PRAGMA&quot; CONTENT=&quot;NO-CACHE&quot;&gt; &lt;/HEAD&gt; &lt;/asp:Content&gt; &lt;/body&gt; &lt;/html&gt;</pre> <p><br> As described here: <a href="http://support.microsoft.com/kb/222064">http://support.microsoft.com/kb/222064</a></p> <p>Nothing seems to work :(<br> <br> Preferably a solution for both IE8 and IE6 (yes i still have to support that goddamned browser)&nbsp;</p> <p></p> <p></p> 2010-07-03T21:57:32-04:003957159http://forums.asp.net/p/1575058/3957159.aspx/1?Re+How+to+not+store+specific+page+s+in+temporary+internet+files+Re: How to not store *specific* page(s) in temporary internet files? <p>Take a look at this:</p> <p><a href="http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache">http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache</a></p> <p><br> </p> <p>In particulary, look at the NoCache attribute someone created on that thread.<br> </p> 2010-07-04T00:51:36-04:003957181http://forums.asp.net/p/1575058/3957181.aspx/1?Re+How+to+not+store+specific+page+s+in+temporary+internet+files+Re: How to not store *specific* page(s) in temporary internet files? <p>Thanks - this helped alot&nbsp;</p> <p>User AshleyTate points out:</p> <p>&quot;In current versions of ASP.NET MVC you can simply use OutputCacheAttribute to prevent caching: [OutputCache(NoStore = true, Duration = 0, VaryByParam = &quot;None&quot;)]&quot;</p> <p>Which seems to work great (at least for IE8, i'll test on IE6 on monday</p> <blockquote><span class="icon-blockquote"></span> <h4>CodeHobo</h4> <p></p> <p>Take a look at this:</p> <p><a href="http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache">http://stackoverflow.com/questions/1160105/asp-net-mvc-disable-browser-cache</a></p> <p><br> </p> <p>In particulary, look at the NoCache attribute someone created on that thread.<br> </p> <p></p> </blockquote> ) - thanks! <p></p> <p></p> 2010-07-04T02:20:40-04:00