The problem you have with custom headers is unless the thing at the other end understands them, they won't be reciprocated. So sending custom headers to IE will just result in it ignoring them.
Up vote 2 down vote favorite 1 share g+ share fb share tw.
I have an ASP . NET site with a custom server-side caching system which is a nightmare. I want to use eTags to replace this.
Many of the links in the site return different versions of a page depending on session state for the user. An example - mypage. Aspx?
P=a will return different versions of mypage - equally valid, depending on session state. I'd like to cache all versions. Without totally redesigning the navigation links, how can I do this?
From what I've read, putting a different eTag on each as they are generated and served for the first time will just cause the last-generated version to be invalidated and dropped from the cache. Thanks PS could I use Response.Cache. VaryByHeaders"Content-Length" = true and rely on each version being different in length?
PPS Stupid idea! What about adding a custom header with a version key to the response and use VaryByHeaders on that. Asp.net caching etag link|improve this question edited Sep 9 '10 at 14:17 asked Sep 9 '10 at 13:21Geoff686 25% accept rate.
The problem you have with custom headers is unless the thing at the other end understands them, they won't be reciprocated. So sending custom headers to IE will just result in it ignoring them. You can use Output Caching though.
It's possible to create your own outputcacheprovider. That would let you mess with the cache based on your requirements. See msdn.microsoft.com/en-us/library/hdxfb6c... for details on Output Caching.
It would appear the outputcacheprovider is only . Net 4.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.