……………………………………………….Expertise in .NET Technologies

Static and Dynamic Web Pages

Posted by Ravi Varma Thumati on July 15, 2009

We can broadly classify web sites and web pages into two categories:
1. Static web pages

2. Dynamic web pages

Static Web Pages

A static web page is a page which has the same content always.
In case of static web pages, content is written in the page itself as plain html. Until the author of the web page updates the content, the content remains the same in the static pages.
Static web pages are meant for providing information which does not change often. For example, visit This page is a static page. The content is always the same (until they update the content by uploading a new html file to the web server). HTML files are used to create static web pages.

Most of these advantages and disadvantages apply to normal HTML pages in particular.


  • Quick and easy to put together, even by someone who doesn’t have much experience.
  • Ideal for demonstrating how a site will look.
  • Cache friendly, one copy can be shown to many people.


  • Difficult to maintain when a site gets large.
  • Difficult to keep consistent and up to date.
  • Offers little visitor personalization (all would have to be client side).

Dynamic Web Pages

Dynamic web pages get content from database. Content is NOT hard-coded in the page itself.
Dynamic pages are created using “Server side code” when the page is loaded every time. Dynamic web pages are created using technologies like ASP, ASP.NET, PHP etc.
HTML pages cannot be dynamic. All HTML files are static pages. If you want to write dynamic pages, you must use some technologies like ASP.NET.

Typically written in various scripting languages or technologies such as ASP.NET, PHP, Perl or JSP


  • Offers highly personalized and customized visitor options.
  • Database access improves the personalized experience (as opposed to using just client side cookies)
  • Scripts can read in data sources and display it differently depending on how it is run.
  • Can create the illusion of being updated regularly using time and date sensitive routines (or even randomizers) to display pre-written text.


  • Personalized pages are not very cache friendly.
  • Requires a basic minimum knowledge of the language being used.
  • Scripts need more consideration when uploading and installing, particularly to *nix servers.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: