London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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