I've read through a number of caching methods, but am still quite unsure of how to approach this.
I have a web application which uses .aspx, .html, .css, .js I want to cache my pages, but not my ajax requests. I also have themes, so images are requested like so:
<img src="/Content/Images/Theme/<%=WebApp.Global.GetSetting("CurrentTheme",Request)%>/Image.png"/>
Where WebApp.Global.GetSetting
gets the current theme name to direct the image path.
My .css and theme images are selected based on theme name and so they may be changed regularly. The .js, .html, and .aspx always remain the same, barring the ajax requests in the .js.
I would appreciate some guidelines and resources which would point me in the right direction.
Thank You!