Today I was testing my site and I realized that one of the CDNs I was using was hanging. Not wanting my website to be at the mercy of more failure points than necessary, I brought the hosted jQuery and Bootstrap files in house.
The result was a surprise: good speed on Chrome but slow on Firefox.
Anyway, I found a nice resource on speeding up a web page with at lot of details that I hadn't learned before:
http://www.sitepoint.com/complete-guide-reducing-page-weight/
One interesting thing is that browsers have a limit for how many web requests they will make to one server at a time. It's possible that it was this that made the difference between page load times on Firefox and Chrome. It's a good argument for compiling all your CSS and JS together into one file each per page.
Recursive algorithms can be slow because they end up solving the same little problems over and over again. To speed them up, you can use a technique called "memoization." Memoization allows algorithms go much more quickly by remembering solutions to problems they have already solved. I’m the recursive algorithm. This blog is my memoization.
Showing posts with label bootstrap. Show all posts
Showing posts with label bootstrap. Show all posts
Monday, January 26, 2015
Tuesday, November 25, 2014
Glyphicons and CDN
The bootstrap template for a Carousel home page has little arrows called glyphicons that are broken by default. Unless you use the versions of Bootstrap that are available through the CDN provider. Here's a description of the problem and solution:
https://stackoverflow.com/questions/18245575/bootstrap-3-unable-to-display-glyphicon-properly/18245741#18245
https://stackoverflow.com/questions/18245575/bootstrap-3-unable-to-display-glyphicon-properly/18245741#18245
Thursday, November 20, 2014
Subscribe to:
Posts (Atom)