Helo,
I have include @OutputCache on my ASPX with location="Any"
¿Can I ser different cache time from client than from server?
I would like to cache the home page of my site 3 minutes on the Server
(so that it don't hit de DB)
And Also i would like to cache that page un the client, 4 hours.
I've tried puting the directive,
<%@ OutputCache Duration="120" VaryByParam="IDWeb" Location="Server"
%>
AND (Page_Load)
Response.ExpiresAbsolute = System.DateTime.Now.AddHours(4)
But the header get
Expires = -1
Any comment, will be thank
|