volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Caching for browsers with httpCacheVaryByCustom

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

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.