Hi, I have a single Django-project on standard webfaction plan. The average loading time of my website is about 4 seconds. I configured most of the performance tweaks regarding Django (caching, compression, ...). So I'm only interested in improvements of the Apache configuration. Is 4 sec loading time on a website with 200kb of data, needing about 15 request to load, the limit with webfaction or can I improve this significantly? This is what my httpd.conf looks like right now:
Thanks in advance Jacques asked 15 Jan '12, 11:09 jacques |
Your configuration seems fine and light and I've doubt that you are reaching any limits. The first suggestion we usually give is to serve your static files from our frontend nginx server (It's also Django's creator first tip!). It gives a significant performance boost and you can follow the instructions here, if you haven't done it already. You could also try ditching Apache and use Gunicorn. You could find some discussions about it, if you search the site. answered 15 Jan '12, 11:45 iliasr ♦♦ thanks for your answer. i am already serving the static files on an external server, but i am using apache to gzip the static files with the .htaccess. I was wondering if i can change anything in the httpd.conf like KeepAlive On, add more threads or somethng like this to increase performance. i tried to read the apache docs, but i couldnt really figure it out. best, jacques
(15 Jan '12, 13:09)
jacques
Do you have access to the httpd.conf on this external server? If yes, then increasing the number of processes can help. On our servers, the static-only apps that are served from our Nginx server already gzip the content.
(15 Jan '12, 22:00)
neeravk
|