Time to speed your website - SparkUp session drukuj
One of the session on SparkUp conference was devoted to optimization of performance of websites.
Best practises I would like to remind for everyone who creates for web that were discussed.
Minimize HTTP Requests
- connect javascript files and
- use css sprite
Minimize transferred data.
- Minimize css, js and html files,
- use gzip compression
- use caching – for elements that do not change often use header expires,set it for one year
- optimize jpegs- you can often make then 50 % size smaller without any visible loss. You can do it by using tools like JpegTran or Smush.it
- optimize png – use png8 when possible
Check also Best Practises for Speeding Up your website
Strongly recommend to use tools below
- Firebug – tool for web developement
- YSlow analyses web pages and suggests ways to improve their performance
- PageSpeed gives you hint how to optimalize loading time for your webpage
- JpegTran optimizes jpg
- Smush.it optimizes all jpgs at once