Search code examples
asp.netvb.netcachingbrowser-cachehttpbrowsercapabilities

what is the default Cacheability of a page ? asp.net IE


After having this issue on our websites over secure SSL connections for Office file download with Cacheability setting. I am wondering what would be the correct setting to use.

If I completely remove this following line of code, what would be the default Cacheability for the page? I have read the following page so if i set nothing what would be the default?

Response.Cache.SetCacheability(HttpCacheability.Public)

If I can't use No-cache then shall I use private or public safely then setting nothing?

Thanks.


Solution

  • "Private" is the default value for the cache.