Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Browser Caching

A web cache is a mechanism for the temporary storage (or caching) of web documents, such as HTML pages and images. The aim is to reduce bandwidth usage, server load, and perceived lag.

...

CSS Cache TypeExampleCache Timeout
System SettingsSettings maintained by the Administrator via CMS screens. These include general site settings and system resources.Nightly (live sites)
TemplatesAny files modified with the Template Editor, as well as changes to the product menu (e.g. adding a new category in the ERP).Every 7 days
Session (User/Customer/Role)Role flags found on the 'Functions' tab in Role Maintenance, such as 'Allow bonus items', or Customer settings such as 'Credit Card Payments for Orders'.Per login session. User must log out and back in again.
Images/DocumentsProduct images, PDF downloads.Every 7 days

 


Refreshing CSS Caches

Each cache type requires its own refresh process:

  • BROWSER - To force a cache refresh at browser level, simply use the keyboard shortcut CTRL+F5. This will refresh JavaScript files, images, and style sheets.
  • SESSION - To force a session cache refresh, simply log out and back in (or vice versa as the case may be). This will start a new user session for the logged in or public user. 
  • PRICING - To force a cache refresh of product pricing (for sites not using Live Pricing), see Resetting the Price Cache.
  • PRODUCTS - To force a cache refresh of products, including stock security records, see Resetting the Product Cache.
  • CSS SETTINGS & TEMPLATES - To force a cache refresh of site templates, role or system settings, follow the guide below.  

Refreshing the Template or System Cache

  1. As an Administrator, navigate to Settings → Dictionary.
  2. Tick the box for the required cache (eg 'Templates' or 'System Control'). 
  3. Click the 'RefreshCache' button.
  4. A confirmation message will be displayed once the refresh is complete (it will only take a second or two).

 

 

...


Related

...

help

Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-articlecache" and type = "page" and space = "KB"
labelskb-how-to-article