Forum Moderators: open
Maybe someone can help me make my website more responsive. In order to make my webpages easily updateable, I use “php includes” in all of my html files. This means that the common elements in each page. {top navigation bar}, {right navigation bar} and {footer} are put together by the server.
This strategy works great, but it does make the loading of the pages somewhat slow. As the number of pageviews and visitors increases, I am concerned that I might lose some visitors if the site is not responsive enough.
I am looking for an html editor that can automatically replace those {includes} with the actual code automatically. Taken into consideration that this will have to be done on hundreds of pages, it would be nice if this could be done without me having to go ahead and change them manually. I did something similar a year and a half ago when the site was only 100 pages and it was a pain.
Perhaps your host has overloaded the server with too many sites to increase revenue and the performance is suffering? Of course, plain HTML files will always be quicker than dynamically-generated pages, but with any decent host the difference will be too small to notice unless your script is particularly complex, with multiple calls to a database, for example.
Regarding my host, it might be a problem with their server as I have a similar setup in another site {hosted with another hosting company}, and the pages load 3 times as fast. Then again, my main site is five to ten times busier.