Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Caching for browsers with httpCacheVaryByCustom

Vote:
 
Does anyone know if httpCacheVaryByCustom="browser" (EPsCacheVaryByCustom="browser" in 4.x) works exactly like the .NET VaryByCustom="browser"?

Or has EpiServer overridden and simplified the detection of browsers? So that it only recognizes IE vs Firefox?
I want to make sure the output cache works for as many browsers as possible, especially for mobile devices vs regular browsers.

#23777
Sep 16, 2008 10:27
Vote:
 

The browser thing is handled by the .NET, using EPIServer we can handle different things.

Please refer the below article to implement your own custom method

http://labs.episerver.com/en/Blogs/Fredrik-Karlsson/Dates/2008/9/Implement-your-own-httpCacheVaryByCustom-method/

 

#23792
Sep 16, 2008 15:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.