Copied to clipboard

Flag this post as spam?

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


  • JoskerVemeulen 56 posts 228 karma points
    Jan 30, 2019 @ 14:46
    JoskerVemeulen
    0

    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?

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

    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:

Draft