Cache management

To understand why there is a  cache management system  for your website pages, you need to think about how the process of creation and use of contents works: on one side you write an article (e.g. you create some content in the News category and save it ); on the other your loyal readers open it and read it. They all read the same HTML page.

So why recreate the same HTML page every time and waste server resources and user time?
the solution is straightforward: the first time the page is generated, it is saved into a memory buffer (cache) and re-used all subsequent times.

For the cache management system to work correctly, special attention must be put to automatic or manual mechanisms that clean the cache whenever  contents or categories are changed by the website editor.

What you need to know about cache cleaning in SevenDaysWeb is:
  • When you save content, the content cache is automatically cleaned.
  • When you save a category the cache is cleaned for all the category contents.
  • When you save the "Website information" page the entire website cache is cleaned.
A tip for all cases: when something is wrong between what you have published and the results you see on the website, clean the cache.

Published on 13/11/2012 by Enrico Tozzi