Web Hosting Forum | Lunarpages

Author Topic: Bootstrap upgrade  (Read 60 times)

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6265
Bootstrap upgrade
« on: February 11, 2018, 08:48:39 AM »
My site has been running with Bootstrap 3.3.6 for several years. In recent weeks, it has greatly slowed down, taking as much as 15 seconds to load the first page of the day (although subsequent pages are reasonably fast). I'm wondering if the bootstrapcdn Bootstrap server is slow, and if it's because 3.3.6 is now so backlevel? In other words, if I upgrade my code to use the current Bootstrap version (4.0.0), should my pages load much faster, or is there something else going on? Would I be better off to cache a local copy of BS files on my site, rather than serving them from maxcdn.bootstrapcdn.com? That's what the canned apps I use seem to be doing (and they're still slow).

Some quick checking shows that there are a huge number of changes from BS 3 to BS 4, so it's more than just hitting a couple of PHP include files that pull in the four JS and CSS files (as well as the html5shiv and responsive files). I suppose I'll have to upgrade at some point, but should I stay at the last BS 3 release for a while? If that can be done by simply changing version numbers in the include files, rather than an extensive rewrite of my code, that will be good. What is the recommended BS 3 version to stay at? I will also need to hit some canned applications and their themes, which use BS (even older versions).

Does anyone have experience with this, and advice that they could share? Thanks much!
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

 

Share |