: Wordpress sites are slow on shared hosting but plain html/css sites are fast I've got a shared hosting account, unlimited sites, unlimited GB, unlimited bandwidth etc etc. Of course because
I've got a shared hosting account, unlimited sites, unlimited GB, unlimited bandwidth etc etc.
Of course because it's shared and a cheap one at that - there's too many sites on each server and it all runs slow due to lack of RAM.
What I've 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.
I'm 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, whereas the WordPress sites are having to make calculations from the database to build each page before it is delivered ... is that correct, or am I completely off course ?
More posts by @Gonzalez347
2 Comments
Sorted by latest first Latest Oldest Best
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.