When using a external plugin like the cookie consent plugin from insites, what is the common practice for inclusion? Is it common to download the js or is it common to use the version on a CDN? (cdnjs.com for example)
Maybe a third option use CDN with a local fallback?
I suppose, as a best practice, you should include the CDN and have a local fall back option, just in case it fails to load for a user (for whatever reason).
It’s probably worth mentioning though that, by design, if a CDN server goes down, the content is usually served from another server in the network.
Personally, I’d say you’re fine just to include the CDN - but there's no real harm in including a fall back.
using a CDN
When using a external plugin like the cookie consent plugin from insites, what is the common practice for inclusion? Is it common to download the js or is it common to use the version on a CDN? (cdnjs.com for example) Maybe a third option use CDN with a local fallback?
Any insights?
I suppose, as a best practice, you should include the CDN and have a local fall back option, just in case it fails to load for a user (for whatever reason).
It’s probably worth mentioning though that, by design, if a CDN server goes down, the content is usually served from another server in the network.
Personally, I’d say you’re fine just to include the CDN - but there's no real harm in including a fall back.
is working on a reply...