Greetings, I find that I'm not happy with the default cache control headers provided by my web application and would like to explicitly declare the following rules:-
Static content:- expire in three days ASPX pages:- expire some immediately and some in three days AXD responses:- expire in three days I'd like to control these declaratively in one place in my application and have followed up on lots of promising leads but all I get is more confused :-( Static content I can set in web.config and I'm happy that I can control that. ASPX reliably gets a Private cache location and no expiry so I can live with them all, effectively, expiring immediately (but I don't like it). I don't seem to be able to change the cache-control response headers for any of the AXD calls and I'm not happy with these expiring in a YEAR. Fiddling with the caching profiles (in web.config) sometimes adds duplicate, and/or conflicting, headers that only goes to show that I don't properly understand what's going on. Furthermore MSDN pages are very helpful with "how" to set various config values but they don't help at all for someone trying to understand the actual effects. Does anyone know a resource that I can read which actually explains what I need to do to take control of these headers? I'm seeking understanding rather than a recipe and If I have to use Fiddler and a process of trial and error I will, but I'd rather understand my options before I start that painful process. -- Regards, noonie