Current time: 11-21-2019, 05:05 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestions for more speed
03-06-2012, 02:05 AM (This post was last modified: 03-06-2012 05:12 AM by SWortham.)
Post: #3
RE: Suggestions for more speed
Well you've already mentioned CSS sprites. It'd be nice if you could make CSS sprites out of just about everything. I understand the difficulty though. When you're dealing with images from a product database like this it's not really practical to use CSS sprites for the products, for example.

However, several of your PNGs/GIFs can still be combined.

Check out this sprite from StackOverflow for inspiration...
http://cdn.sstatic.net/stackoverflow/img...es.png?v=5

Then I'd suggest moving as much as you can to a CDN. CDN's are very cheap nowadays. In addition to the performance you'll gain in terms of reduced global latency, you'll have a few other benefits:

1. Moving static content to a cookieless domain helps since the request no longer contains a cookie, therefore reducing request payload & latency.
2. Serving up content from a 2nd domain allows the browser to download more assets in parallel.
3. Using a CDN for your static files frees up your server to just focus on the dynamic content.

Those 3 benefits all pay off. If you look at the graph along the bottom for bandwidth usage, you can see drastic dips in bandwidth. This is due to the inherent latency of so many files being downloaded as well as the browser's limitation of only being able to download 6 files simultaneously from a single host.

Oh, and as for embedding the base64 images in HTML, I'd be worried about how the repeat view time is affected. Sure enough, your repeat view time is only a couple tenths of a second faster than the first view. I'd be tempted to just serve the images individually (and set appropriate max-age headers). Your first page view time might be slightly slower. But the "start render" time should improve, and the repeat view time will definitely improve.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Suggestions for more speed - doc_uk - 03-05-2012, 10:35 AM
RE: Suggestions for more speed - Marvin - 03-05-2012, 10:26 PM
RE: Suggestions for more speed - SWortham - 03-06-2012 02:05 AM
RE: Suggestions for more speed - doc_uk - 03-06-2012, 05:19 AM
RE: Suggestions for more speed - SWortham - 03-06-2012, 05:37 AM
RE: Suggestions for more speed - Marvin - 03-06-2012, 06:06 AM
RE: Suggestions for more speed - SWortham - 03-06-2012, 06:33 AM
RE: Suggestions for more speed - Marvin - 03-06-2012, 07:04 AM
RE: Suggestions for more speed - doc_uk - 03-06-2012, 07:21 AM
RE: Suggestions for more speed - SWortham - 03-06-2012, 08:33 AM
RE: Suggestions for more speed - doc_uk - 03-06-2012, 10:35 AM
RE: Suggestions for more speed - pmeenan - 03-07-2012, 03:39 AM
RE: Suggestions for more speed - doc_uk - 03-23-2012, 11:45 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)