Click to See Complete Forum and Search --> : How can I optimize my site (it's in php)?


gomisute
04-03-2008, 08:11 PM
How can I optimize the php code to make load times much faster?
How can I optimize the mysql db?

here is the link:
http://www.jobarray.com

Thank you all.

NogDog
04-03-2008, 11:17 PM
I don't think PHP/MySQL is the main problem right now, but rather the size of the page. See http://www.websiteoptimization.com/services/analyze/wso.php?url=http://www.jobarray.com/ for a report and some suggestions.

bokeh
04-04-2008, 03:03 AM
The trouble with that web page is it needs to access 4 external stylesheets and 9 external javascript files before it can be rendered. I think that without changing the size of the data if you made a site wide stylesheet, grouped your javascripts and used gzip then your site could load in one quarter the time.

As for the PHP page alone that takes 1.8 seconds for me to receive. That page is 54 kilobytes. If you gzipped it it would be 11 kilobytes.

gomisute
04-04-2008, 01:11 PM
Thanks Guys...That's great advice.
Something I didn't know at all!
---
I'll implement some changes and see how things go.

Thanks again.

TJ111
04-04-2008, 04:45 PM
Here is a great article about Yahoo's internal testing/results on how to speed up web pages. http://developer.yahoo.com/performance/rules.html