Caching stores data for future request so that the site will load quicker. In Media Factory, you can control whether a page is cached or not.
Note: Depending on your browser, you may want to clear the cache after you update a template so that the template changes appear on the website pages.
Caching CSS stylesheets will improve performance; however, it will lag the display of the CSS changes made in the template on your website.
In the default wrapper template, around line 43, there is a template variable {$htmlheaders}. This variable renders out the following:
<script type=“text/javascript”>var selectedVHost = yourVHOST#; var sessionCookieName = 'SABRE_ID';</script> <link rel=“stylesheet” type=“text/css” href=”/services/cssloader?id=yourGlobalCSSTemplateID” />
You will have something like this:
<!– {$htmlheaders} –> <script type=“text/javascript”>var selectedVHost = yourVHOST#; var sessionCookieName = 'SABRE_ID';</script> <link rel=“stylesheet” type=“text/css” href=”/services/cssloader?id=yourGlobalCSSTemplateID&refresh=true” />