Categories

Static Content

Judy Waters April 22, 2016
No votes yet.
Please wait...

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:

  1. The fast and efficient way render content.

  2. Doesn’t involve referring to database tables.

  3. Usage of simple and clean URLs.

  4. Compatibility with every type of webserver technology.

Still, there are disadvantages as well:

  1. Changes of the layout and content should be performed manually.

  2. All viewers will see the same content.

  3. Some pages (like Forum, Account, Checkout, and others) can’t be deployed with static elements, as their content is dynamic by default.

Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.