GithubHelp home page GithubHelp logo

Comments (5)

tabascoeye avatar tabascoeye commented on July 21, 2024

Well the "younger web-hipster generation" (namely @xandy) told me that it is a good idea to use the CDN versions of all "big, well-known" JS libs and have an auto-fallback when the CDN is unreachable.
Because of caching. Most browsers will already have bootstrap and all that loaded anyways ==> faster page load.

from rzl-homepage.

elsbrock avatar elsbrock commented on July 21, 2024

I know these args, I still prefer having everything bundled. An increased initial loading time really does not matter, we're not Google.

from rzl-homepage.

echox avatar echox commented on July 21, 2024
This is a total bullshit argument for people who have no clue how this stuff works and just cover up googles TRACK-IT-ALL Policy :-P
  1. Requests of your browser to resolve the resources are issued in parallel, not one after another. The bottleneck of a pageload is not 95kB jquery. -> Usually no effect on page load speed.
  2. This applies only for the first load of the page. At least after the second click the local version of jquery is already cached -> absolutly no difference to CDN providers.
  3. The real world: go on and measure this ;-) the last time I tried it with regular webpages the gain for that single resource would be 1/4 of the time, so talking about jquery it is ~ 50ms. not that impressive if the overall page load is ~ 2sek.

from rzl-homepage.

tabascoeye avatar tabascoeye commented on July 21, 2024

😭 okay okay. I got it.

from rzl-homepage.

elsbrock avatar elsbrock commented on July 21, 2024

👍

from rzl-homepage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.