YSlow?
On Mon, Apr 14, 2008 at 6:23 AM, Paul Vernon <[EMAIL PROTECTED]> wrote: > About 5 seconds on a 20Mb Cable connection in the UK... > > YSlow says you have lot of scope for optimisation and currently gives you > site a grade of F (31 points). > > Looking at the YSlow report, I'd say you should be able to get a C or a B by > configuring your Expires headers on your web server, consolidating your CSS > into one file, enabling gzip on the server and using a Javascript compressor. > > To consolidate stylesheets, I have a cfm page that is configured to read a > single stylesheet which contains only @import lines, use a RegEx to get the > URL, and then use CFFILE to build and cache a copy of the consolidated CSS > serving that rather than all the individual CSS files. It means the designers > can have as many CSS files as they want and I can still serve only one CSS > file to the user (with the exception of IE specific styles using conditional > comments). > > It means we reduce our HTTP requests for CSS from over 10 down to 1 and > after the first hit, the performance improvement is marked. > > Paul > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:258489 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
