Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I had this problem as well. I thought the httpCacheVaryByCustom="path" should do it but it seems it doesn't.
What we did is to add host to the ContentOutputCache attribute.
[ContentOutputCache(VaryByHeader = "host")]
Thanks for the response. This site is WebForms based, not MVC. I will take a look for the equivalnt.
-Brian
We have a site that listens on a few different host headers. We have a couple of spots on the site that check the host header and change the styling slightly.
Currently, I have the output cache set to a 4 hour expiration. Depending on the site that gets hit first, it's cache is used for all the host bindings.
Is there a way to configure this in EPiServer not to happen?
Thanks,
Brian