Forum Moderators: phranque
What the following no-cache tags?
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
Response.Expires = 0
Response.ExpiresAbsolute = now()-1
Can you control the cacheability of an image? Say if you want some images on a page to cache for a long period, others for a medium length period (say 30 days) and some for a shorter period (say 7 days).
For each object (html page, image, script, etc.) requested by a user-agent (browser, spider, etc.), the cacheability is determined by the server header returned with the requested object.
You can usually control different files' cacheability individually - it depends on the server and how you configure it.
Check out these resources: Cacheability tutorial [mnot.net] and Cacheability checker [ircache.net].
Jim