Reputation: 13
I have a question - I am hosting my files on a static sub-domain
http://subdomain.domain.com
http://www.domain.com
Currently, resources on the subdomain are ONLY accessible via HTTP [not https://]. For now, I request https:// resources via www.domain.com
Will resources requested from subdomain.domain.com be "cached" for https://. That is, lets say user comes to "home" and requests
http://subdomain.domain.com/style.css
Will this resource be used on
https://www.domain.com/style.css
or is this considered a new request ? i.e. its not cached from subdomain ?
Upvotes: 1
Views: 1327
Reputation: 51062
I would expect that to be considered a new request and not taken from cache (and indeed, if you tried to use the version cached from the non-secured page, the browser would consider that a mix of secure and insecure content).
Upvotes: 1