Posted By: Lightfoot (The truth is out there..) on 'CZwww' Title: Re: necachovani v sitich pod proxy ...y Date: Thu Jan 17 23:20:07 2002 > > Jde nejak 100% osetrit abz se nektere stranky > > neuchovavaly v cache napr. proxyny ale musely se > > znovu nacist? Myslim tim samozrejme bez zasahu na proxyne. > > Nekde jsem k tomu neco cetl ale zaboha si neumuzu uvedomit > > jak to s tim bylo. Mam dojem ze treba privesek v ASP jako > > Response.expires=0 nestaci .... > > header("Expires: ".gmdate("D, d M, Z H:i:s")." GMT"); > header("Pragma: no-cache"); > header("Cache-Control: no-cache, must revalidate"); > > Vsechny tri dohromady zatim fungovaly spolehlive ;-) OK, bohuzel je to v PHP, ja bych potreboval v ASP, ted jsem nasel ze to jde i oklikou bez toho headeru napr. takto: Low Tech Techique A simple technique that requires no memorization of Header() information is to append a random number to the query-string of every URL you do not want cached. This is a technique that Yahoo uses. V ASP by to mohlo byt asi tak (vyzkousim to): <% Response.CacheControl = "no-cache" %> <% Response.AddHeader "Pragma", "no-cache" %> <% Response.CacheControl = "no-cache" %> <% Response.AddHeader "Pragma", "no-cache" %> <% Response.Expires = -1 %> diky Lightfoot