
Best Practice for SPEEDING up your WEBSITE
This is easy and simple step by step process to understand the process on how to speeding up you website and load time. The loading time of your website is very important when it comes to website user. Even one sec late is late for someone to loose interest. Optimistaker
CONTENT
-
- Make fewer HTTP requests
- Reduce DNS Lookup
- Avoid Redirects
- make Ajax Cacheable
- Postload Components
- Preload Components
- Reduce the Number of DOM Elements
- Split Components Across Domains
- Minimize number of iframes
- Avoid 404’s
SERVER
-
- Use a Content Delivery Network(CDN)
- Add Expires or Cache -Control Header
- Gzip Components
- Configure ETags
- Flush Buffer Early
- Use GET for Ajax Requests
- Avoid empty image src
COOKIE
-
- Reduce Cookie Size
- Use cookie free Domains for components
CSS
-
- Put Stylesheets at top
- Avoid CSS Expressions
- Choose<link> over import
JAVA SCRIPT
-
- Put Script at Bottom
- Make JavaScript and CSS External
- Minify javaScript and CSS
- Minimize DOM Access
- Develop Smart Event Handler
IMAGES
-
- Optimize images
- Optimize CSS Sprites
- Do Not Scale Images in HTML
- Make favicon.ico Small and Cacheable
MOBILE
- Keep Components Under 25 kb
- Pack Components Into a Multipart Document