Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • JoskerVemeulen 65 posts 257 karma points
    Jan 30, 2019 @ 14:46

    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? ( for example) Maybe a third option use CDN with a local fallback?

    Any insights?

  • Rhys Hamilton 140 posts 937 karma points
    Jan 30, 2019 @ 15:39
    Rhys Hamilton

    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.

Please Sign in or register to post replies

Write your reply to: