Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

ive got a shared hosting account, unlimited sites, unlimited gb, unlimited bandwidth ect ect.

Of course because its shared and a cheap one at that theres too many sites on each server and it all runs slow due to lack of ram.

What ive found is that my plain html/css/js sites run an awful lot faster than my wordpress sites on this hosting and i was trying to work out why.

Im not exactly sure how a browser sends a request for a page and the full process of request and delivery, but are my html sites running faster as they are just serving code to the browser, where as the wordpress sites are having to make calculations from the database to make each page before its delivered .. is that correct, or am i completly off course ?

share|improve this question
You're correct that WordPress has to render the page before it sends it. Another thing you can see, is if there's a large amount of external JavaScript being called by WP over the other pages, which increases load time. Furthermore, try tools.pingdom.com (page load test) to troubleshoot your issues directly. – ionFish Jun 28 '12 at 21:17

2 Answers

up vote 0 down vote accepted

It is probably because your Wordpress uses PHP(PHP:HyperText Pre Processor), server side programming language, so if someone requests a webpage from your website, data is processed on the server and then html and css is thrown on a web browser, these websites are called dynamic websites, and the one which you are saying, HTML/CSS websites are static websites, here, server actually throws the content directly without processing because there's just markup in the web page, moreover, if you include scripts of Google Analytics or advertising scripts it also affects your page loading time, bloated server side coding, use of high resolution images, etc can also cause increase time for loading a page. Hope this helps you.

share|improve this answer

PHP/MYSQL sites can be slower also because the MySQL server, sometimes an independent machine, is overloaded. You can try a cache plugin, like WP Super Cache to speed it a little.

share|improve this answer
If WP Super Cache is configured correctly, it will effectively be serving static pages most of the time, thus speeding it up greatly. – Cameron Martin Jun 28 '12 at 22:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.