Static HTML vs Dynamic Websites

This Article takes a look on the performance issues of dynamic websites, and how to avoid them.

Its well known that dynamic websites are more demanding then static HTML, so no need to go into details about that. But how can we avoid most, if not all of these performance issues?

Shared hosting is very inexpensive, and very attractive if you can get things running smoothly, the problem is that many shared hosts, has very limited server resources for their customers. Brugbart believes in inexpensive hosting solutions, and we are always looking how we can improve the performance of our website, to keep our hosting expenses down.

This site is mainly a Tutorial site, so we have low demands to hardware. But what if we had something more alive, like a very active Forum?

The Problem

Dynamic websites are programmed in languages such as ASP and PHP. There are ways to cache your pages, so that the performance hit is reduced, but this would still take up memory.

The solution

Instead of saving a cached version of your pages, like some server modules allows. Save it in your database table instead.

This would limit the PHP required, to a single database request. You can then update these pages, whenever the content has changed, or someone has submitted a comment in case that its a blog, forum or whatever.

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.