I have a website with multiple host headers. The subject and data depend on the host header, and different hosts load different search sites.
So, imagine that I have a site called "Foo" that returns search results. The same code launches both sites listed below. This is the same server and website (using host headers)
www.foo.comwww.foo.com.au
Now, if I go to .com , the site will be blue. If I go to the .com.au website, it will be red.
And the data is different for the same search result based on the host name: US results for .com and Australian results for .com.au .
If I want to use OutputCaching , can this be processed and partitioned by host name?
Iām worried that after a person goes to the .com website (correctly returning the US results), the second person who .com.au website and finds the same data will get the theme and results for the .com website.
Is caching possible?
source share