https://help.superhosting.bg/en/supercache-manager-advanced-settings.html
  • bg
  • en

Hosting, Domains, Virtual Private Servers (VPS), Managed VPS, SSL Certificates

Advanced Settings in SuperCache Manager

Control Panel cPanel
supercache, website speed-up

Besides the General Settings SuperCache Manager also provides you with Advanced Settings. By using them you can fine tune the caching system. You can also specify cookies and server HTTP headers to be included or excluded from caching.

Once SuperCache is activated, it will cache content by default even if the web client query contains cookies. The tool will also behave differently towards certain HTTP headers in the source server response.

info-iconImportant: Correct configuration through the Advanced Settings section requires in-depth knowledge of your website’s operation such as the types of cookies and HTTP headers that are generated to its visitors. If you are not sure why exactly you need these options, do not modify them. The setup might be performed by a web developer or someone who is more familiar with the website's CMS and its support.

Types of Caching When Using Cookies link-to-this-section

Types of Caching When Using CookiesThe types of caching when using cookies depend on the cookies available in the visitors‘ queries sent to the website.

Here you can specify what actions the caching system will take depending on the cookies generated by your website.

info-iconImportant: No matter of the type of caching selected in this option (when using cookies), the overall caching performance will be influenced also by the options Disable the processing of server headers, Ignored Vary Headers and Excluded URL Addresses from Caching.

Cache Everything

This caching option is active by default as it means that clients are always served cached contents no matter if their queries to the website have cookies or not.

info-iconNote: Although this type of caching always serves cached content to visitors, some administrative URLs and cookies are automatically excluded from caching. In the settings, look up the section Automatically Added URL Addresses Which are Not Cached to view all excluded URLs.

Cache Everything Excluding Specific Visitor Cookies

With this type of caching cached content will be served to visitors, except for cases when they send a specific cookie (or cookies). You can specify cookies which will determine if the visitor will be served cached content upon website query.

Do not Serve Content from the Cache when a Cookie is PresentDo not Serve Content from the Cache when a Cookie is Present

Add cookies to the option Do not Serve Content from the Cache when a Cookie is Present. You need to enter only the cookie name without its value. For example, if the cookie is "language=bg-BG", you will enter only language in the field.

info-iconNote: If you enter only the cookie name, e.g. language, SuperCache will detect also all other cookies whose names begin with language e.g. languagesitelanguagestring, etc. To adjust SuperCache for tracking a specific cookie, enter its name into the field followed by the symbol =, e.g. language=.

You can add more than one specific cookie by using Add a New Entry. You can also remove a specific cookie from the list by using the X on the right.

Serve from Cache Only if the Visitor is not Using Cookies

This type of caching serves cached content only if the client query to the website is not using cookies at all.

Ignored CookiesHere you can specify cookies to be excluded from this rule.

Ignored Cookies

Below the Ignored Cookies option you can set specific cookies to be ignored. This means that the visitor will be served cached content despite their usage in the website query.

You will see a few suggestions in the field for entering a cookie as you can select one of them. These are cookie's presets used in widespread systems and services as they are ready made for you to add them as an exception per one click.

Disable the processing of server headers link-to-this-section

The caching system complies with the response headers by default. They are specifically: Expires, Cache-Control and Set-Cookie.

Depending on the type of the response header, caching might behave as follows:

Disable the processing of server headersExpires - If the website returns an Expires header, specifying validity shorter than the caching time, the current resource will be cached for the time specified in the Expires header.

Cache-Control - If the website returns a Cache-Control header defining specific features or restrictions for the caching type, they will be taken into consideration.

Set-Cookie - If the website returns a Set-Cookie header, the current resource will not be cached.

Ignored Vary Headers link-to-this-section

Ignored Vary HeadersThe HTTP Vary header is the primary mechanism for notifying intermediate caching systems that the website content varies depending on the specifications of the requesting web client. One of the most common directives in this header is: Vary: User-Agent.

SuperCache complies with the Vary header sent by the website. If you would like the caching system to ignore a certain Vary header directive, you can add it in this option.

HTTP 404 Error Pages link-to-this-section

By using Cache Error Pages (HTTP 404) you can activate caching for the website responses with the 404 Not Found status code.

HTTP 404 Error PagesSuperCache will not cache a resource if its HTTP status code is 4xx or 5xx (signifying errors).

The option is deactivated by default. Click On to activate it.

Mobile Version link-to-this-section

Mobile VersionThis option enables SuperCache to store two separate cache versions of the pages. If the User-Agent is coming from a mobile device, the tool will store a separate copy of the page in the cache.

Automatically Added URL Addresses Which are Not Cached link-to-this-section

If the URLs added by default are present in the client query, cached content will not be served.

Automatically Added URL Addresses Which are Not CachedThese are URLs providing access to the admin panels of some of the most common CMS. Disable this option if you want cached content to be served for the specified URLs.

500px270px
SuperHosting.BG

Comments

avatar
  Subscribe  
Notify of
All rights reserved © 2005-2018 , www.superhosting.bg