I am using request.hostname in functions to serve different content for the same url.pathname. If I set Cache-Control to cache the content in CDN, will it be cached by url.pathname or request.hostname+url.pathname? i.e. will it serve the same the content across different domains because of caching?
Caching is specific to the complete URL, not just to the path.