- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Static Content
April 22, 2016
Static Content is a type of files that don’t change based on user input. Most used static elements of the website are images, JavaScript, stylesheets, and HTML code. They never require dynamic data. Let’s check a few examples:
-
http://www.website.com/somepage.html
Such URL format means that the link will always redirect only to the specified page. The path can be changed only via HTML adjustments.
-
The same can be found within shortcodes, for example:
[banner img="http://www.website.com/img/someimage.png" title="Title text"]
where banner image and banner title are static elements as well.
Such static elements are handled using the simplest methods. The advantages of that are the following:
-
The fast and efficient way render content.
-
Doesn’t involve referring to database tables.
-
Usage of simple and clean URLs.
-
Compatibility with every type of webserver technology.
Still, there are disadvantages as well:
-
Changes of the layout and content should be performed manually.
-
All viewers will see the same content.
-
Some pages (like Forum, Account, Checkout, and others) can’t be deployed with static elements, as their content is dynamic by default.