Search squid archive

Re: Squid reverse proxy with cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 12, 2011 at 4:32 PM, Morgan Storey <me@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Apr 12, 2011 at 3:56 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
>> SOLUTION:
>>  find the part of IIS or the web scripts which is adding that "private" and
>> turn it off.
>>

Got it all working, for anyone's future reference .Net works via code
in the aspx files, and the app I am playing with umbraco simply needs
the below code in the default.aspx I am led to believe.
<%
Response.ClearHeaders();
Response.Cache.SetExpires(DateTime.Now.AddDays(5)) ;
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.AppendCacheExtension("stale-if-error=36000");
%>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux