close Warning: Can't synchronize with repository "(default)" (/project/cl-weblocks/svn does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 17 years ago

Last modified 17 years ago

#46 new defect

Use css sprites to improve latency of default style

Reported by: anonymous Owned by: Slava Akhmechet
Priority: low Milestone: 0.2
Component: weblocks Version: pre-0.1
Keywords: latency performance css png Cc: alexander.kjeldaas@…

Description

The default page will load 33 pngs. A lot of these average at around 200-300 bytes in size. Using CSS sprites can improve latency and the feel of a weblocks application a lot.

I am measuring around 2s load time using firebug on the default weblocks-demo page. My guess is that CSS sprites can shave off around .5 seconds.

How to reproduce:

(require :weblocks-demo)
(weblocks:start-server)

In firefox, install firebug.

Enable firebug for your site. Do a "shift-reload" (holding shift down while doing a reload) to do a fresh load of the front-page. Inspect the "Net" tab in firebug to get a timeline.

Change History (1)

comment:1 Changed 17 years ago by Slava Akhmechet

Milestone: 0.2
Priority: wishlistlow
Version: pre-0.1

Moving to 0.2 milestone.

Note: See TracTickets for help on using tickets.