Viewing post #506255 by dave

You are viewing a single post made by dave in the thread called Status update on the site.
Image
Oct 31, 2013 4:03 PM CST
Garden.org Admin
Name: Dave Whitinger
Southlake, Texas (Zone 8a)
Region: Texas Seed Starter Vegetable Grower Tomato Heads Vermiculture Garden Research Contributor
Million Pollinator Garden Challenge Charter ATP Member I was one of the first 300 contributors to the plant database! Garden Ideas: Master Level Region: Ukraine Garden Sages
In case any of you were wondering what all the activity was about today, with strange behavior occurring around the icons and lightboxes and things, let me explain. This week is "Optimization Week" for me and I've been doing a lot of background changes to the site that are meant to make it much faster. None of the work really has a visible effect, but it does have a huge effect in terms of performance.

For example, all the icons you see here and there used to be individual files, and in order to load a page on ATP your browser had to download each and every icon and graphic individually.

On some pages, like threads, the microbadges that show up in our profiles can number into the dozens or even over a hundred different microbadges. Each badge forced a different connection to the server and that adds up to slow down your experience at ATP.

So, today I (mostly) finished my work of converting the microbadges and other icons into a single image. Your browser downloads the image once and then stores it in your cache, and then forever after it can display all the microbadges without ever having to download them again. The technique is called CSS spriting and it should have a huge impact on your performance. Even if you don't directly notice it, having a page load go from 1 second to 0.5 seconds is a gigantic improvement.

So, all the chaos from earlier today was worth the effort. Smiling

« Return to the thread "Status update on the site"
« Return to Site Talk forum
« Return to the Garden.org homepage

Member Login:

( No account? Join now! )

Today's site banner is by RootedInDirt and is called "Botanical Gardens"

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.