CDN and protocol independent URIs
-
Valid URI for CDN accepted by Autoptimize mandates protocol as well. CDN URL replacement is working fine for both JS & CSS. However, am facing problem with below case.
We can specify static resources without protocol. (E.g., “//abc.com/static/a.png”) This is to make sure that everything works fine for the site with both http & https. Resource is fetched with same protocol as the top page and there will not be any mixed content alert.
Due to this, some of the resource are fetched from site instead of CDN or fetched twice (once from CDN & another from site). ??
Let me know if you need more info.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘CDN and protocol independent URIs’ is closed to new replies.