by default squid don`t make cache of dynamic content e.g ( .asp files). I need to cache asp files in my proxy, anyone know how can I do this task?
Hi,
The ASP files must have the appropriate headers to be cached.
In the response object set both cache-control to public and set a expire time.
For example:
<%Response.CacheControl="public"%>
<%Response.Expires=2280%>
The page will be cached for 2280 minutes.
Check for more information here:
http://www.mnot.net/cache_docs/\#IMP-SCRIPT
and how is the header code to prevent (deny) any kind of caching?