Closed jaiivarsson closed 9 years ago
It sounds good... I've seen an attribute on either a script or stylesheet include called something like fallover, fallback, failover or something that listed a local path to compensate if the CDN failed... But I can't remember nor find any reference to such an attribute now. It could've been custom, I don't know but I'll keep looking.
Also, I like the idea of using //
instead of http{if $issecure}s{/if}://
where applicable.
A new practice for using CDN is to test it is there and if not load it from a local copy. Like this:
Thinking this is a good thing to add.