- Messages
- 764
- Reaction score
- 27
- Points
- 0
When your site becomes succesful and the monthly traffic allowence for your web site is getting close to the limits but you don't want to upgrade just yet here are a few things that may help.
- Put all your javascript into external .js files. This means that they are stored in the visitors browser cache and re-used.
- Spread the load. Store bulky content such as images or attachments on external web sites such as Flicker or Google (free) sites.
- Optomise the code. Strip out the whitespace, comments and use compression tools such as Wordoff and Gzip.
- Use CSS for decoration and buttons. CSS is getting lots of new features, new browser releases will support them.
- Enable client browser caching if your web site is NOT dynamic.
- Outsource RSS feeds. eg: Feedburner
- Use Client side browser storage. Still relatively unheard of, why not take advantage of 5MB of storage space inside the visitors browser? Way better than cookies and more persistant.
- Use externally hosted AJAX and Javascript Libraries
- Go easy on the in page Javascript and Flash
- Prevent hotlinking and starve the leeches