Content | Navigation |

How to clear branch cache

  1. Right-click on the home page of your site and select Branch Actions, then Clear branch cache
  2. The action is complete when a message appears at the top of the screen. It may take several seconds or minutes to complete, depending on the number of pages in your department's web space

Choosing Page Actions, then Clear page cache will only clear the cache for the selected page, not any of its subpages. This may be what you want.

Note: 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 see the change.  The simplest way to do this is to hold the shift key down while clicking the refresh/reload button in your browser. Wikipedia also writes about bypassing cache. All of the same principles in the introduction and Section 1 (including Section 1 sub-sections) of the Wikipedia article apply.

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, skipping any hidden or hidden-in-menu pages
    • Retrieve reusable content, including footers and banner text
    • Retrieve or calculate 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 file
    • Assemble content from plug-ins such as news
    • 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/

    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 "snapshot" can be quickly retrieved for display 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 moved (since navigations for pages not directly affected will not be rebuilt) or if template parts, like footers, are updated.

    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.


    Student Focused. Land Grant. Research University.

    Follow NDSU
    • Facebook
    • Twitter
    • RSS
    • Google Maps

    North Dakota State University
    IT Help Desk: +1 (701) 231-8685
    Physical address: IACC 206, 1320 Albrecht Blvd., Fargo, ND 58102
    Mailing address: NDSU Dept. 4530 / PO Box 6050 / Fargo, ND 58108-6050
    Page manager: Content Management System

    Last Updated: Monday, December 03, 2012 6:10:50 PM