optimize the access speed of django website

1- ajax
2- move operation of logic move to javascript
3- rename django.fcgi to dispatch.fcgi
4- optimize sql 
5- reduce the size of html
    * inline css
    * <head><base target="_blank"></head>
    * remove '\n'
6- compress html with gzip
7- reuse static html
    * crontab, get static html from django , root to static index.html
posted @ 2018-09-04 15:27  idlewith  阅读(82)  评论(0编辑  收藏  举报