• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

How to reduce Website loading speed?

Status
Not open for further replies.
Surprisingly, someone requires that you make the download slower, and not vice versa, but if so read:
1. Reduce the amount of pages to load. Use gzip compression, this is
2. will reduce the time of file transfer to the browser.
3. Reduce the amount of graphics Delete unnecessary images.
4. Reduce the number of browser requests.
5. Enable data caching
 
1. Use an efficient web server e.g. nginx

2. Write your html by hand so that you have control over all the javascript etc being sent to the browser.

3. Where possible, send static html pages only. If you must have dynamic content, can it be generated via a separate process (cronjob?) instead of attempting on-the-fly generation?

4. Don't use complex relational databases e.g. mysql unless absolutely necessary. You'd be surprised just how much you can do using only sqlite.
 
Status
Not open for further replies.
Back
Top