Skip to content.
NDSU
Text Size

How to clear branch cache

  1. Right-click on the home page of your site and select Clear branch's cache

This may take a few minutes if your site is large. If you observe an error stating that you do not have permission to perform this action, contact the ITS Help Desk to request you be granted permission

What is cache and how does CMS use it?

As defined at wikipedia.org on 2/15/08, cache is "a temporary storage area where frequently accessed data can be stored for rapid access."

CMS uses caching at a few levels. It may cache individual content elements or entire pages as they display in your browser. It caches many files, especially image files. It also caches URLs. It caches configurations used in the backend and the page template.

Why does it do all this?

To reduce the amount of time required to display a page in your Web browser. To display a page for the first time, CMS must

  • Retrieve page template information from the database and files
  • Assemble automatically-generated navigation
  • Retrieve reusable content, including footers
  • Retrieve or calculates page information, including title and last-modified date
  • Retrieve visible content elements, skipping any hidden content elements
  • Resize images in content elements as necessary, saving the result as a reusable temp file
  • Assemble content from plug-ins such as news and calendar
  • Generate URL information (since CMS rewrites URLs from workspaces.ndsu.edu/index.php?id=8271 to a friendlier format like www.ndsu.edu/cms/faq/
  • Process all of the above output using HTML Tidy

Retrieving and processing this for every visitor that comes to your site would cause significant "load" on the server and cause delays to view pages. Saving the generated page in a cache means the page can be quickly displayed to visitors.

This comes at the expense of occasionally requiring you to manually clear caches, forcing CMS to rebuild the page it displays to visitors. Generally, a manual cache clear is only required when a page name is changed or when a page is moved (since navigations for pages not directly affected will not be rebuilt).

CMS automatically clears its internal caches at midnight daily, which is why you may notice that, without manually clearing cache, some actions take "overnight" to be visible on your site.

Your browser (Internet Explorer, Firefox, etc.) caches pages and files so that you don't need to re-download them every time you view the page or file. This means that if a page or linked file is updated, you may need to clear your browser cache to view the changes. The simplest way to do this is to hold the shift key down while clicking the refresh/reload button in your browser.

Last updated: Friday, November 13, 2009 2:52:32PM

Site Manager: Web Master
Published by Enterprise Computing and Infrastructure

Enterprise Computing and Infrastructure
Phone: (701) 231-7961
IACC 206
1320 Albrecht Boulevard - Fargo, ND 58105