Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design JS and CSS bundle baked into HTML vs. served from a CDN

  • JS and CSS bundle baked into HTML vs. served from a CDN

    updated 3 years ago 0 Member · 1 Post
  • Maverick

    Member
    August 30, 2019 at 11:18 am

    In my current project, all of the static CSS and JS files are packed into a single JS bundle and other assets are served from a CDN. Now, I have two options regarding the way to serve the bundle: Including it directly into the HTML and serving everything from the app server, resulting in more data being sent per request, which in turn leads to more bandwidth being consumed; Exporting the bundle to the CDN and only serving a small HTML from the app server, requiring an extra request to the CDN. I don’t think there is a “one size fits all” option here, but what are the factors that should influence one’s choice? – by hq overview vodozhaba – –

Viewing 1 of 1 replies
Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now