How To Configure Snapt Aria Cache
  • 13 Jan 2022
  • 2 Minutes to read
  • Dark
    Light

How To Configure Snapt Aria Cache

  • Dark
    Light

What is the Snapt Aria Cache?

The Snapt Aria Cache module is a powerful, feature-packed web cache and frontend for the cache server. Among many features, it includes reports, monitoring, a full configuration editor and much more. Caching is especially useful as it serves static content faster than requesting it from a web application, for example as it bypasses database queries.

Snapt Aria Cache Dashboard.png{height="" width=""}Below is a quick and simple setup guide for the Snapt Aria Cache.

Basic Snapt Aria Cache Setup

After you’ve installed the plugin, you can go to the Cache Dashboard. You will see that the Snapt Cache is not running. This is because you first need to configure the cache.

Step 1:

Click on Cache. You’ll then be required to configure the Cache plugin.
Snapt Aria Cache Step-1.png

Should you not be able to continue with integration, you’ll first need to install “squid” on your system.
Snapt Aria Cache Step-1.1.png

Edit any paths that are different on your system

Step 2:

Configuring the Cache Plugin. We will be making use of the wizard.

Snapt Aria Cache Step-2.png

Wizard Step 1 / 6

Select Cache -> Configuration -> Installation Wizard

Listening Options:

First, you’ll be able to set your preferred listening IP’s and ports. Default is “All”
Snapt Aria Cache Wizard-1.png

Timeouts:

This section allows you to set custom cache timeouts. Should you wish, you can change these settings according to your needs. You may leave this as default.
Snapt Aria Cache  Wizard-1.1.png

DNS:

This section allows you to set or change Domain Options according to your needs. Please note that you are required to add DNS Nameservers, or you may use the “Use OpenDNS” button to populate the field.

Snapt Aria Cache Wizard-1.2.png

Wizard Step 2 / 6

Engine Options:

This section will allow you to set custom limits for your cache. You may leave this as default and commit.

Snapt Aria Cache Wizard-2.png

Wizard Step 3 / 6

Cache Directories:

The cache directories section allows you to create and set the location where cached content will be stored. Please ensure this directory has read+write permissions set.

Snapt Aria Cache Wizard-3.png

Snapt Aria Cache Wizard-3.1.png

Wizard Step 4 / 6

Logging Options:

Under Logging Options, you’ll be able to set and configure various logging options based on your requirements.

Snapt Aria Cache Wizard-4.png

Wizard Step 5 / 6

Error Pages:

This section of the wizard will allow you to set up your error pages. You may choose to use the existing pages or create your own. You can also change the logo to your own brand image.

Snapt Aria Cache Wizard-5.png

Wizard Step 6 / 6

ACL Management:

Here you have the choice to let Snapt Aria manage your ACL’s or choose advanced mode if you prefer to manage them yourself.

Snapt Aria Cache Wizard-6.png

Finish:

After you’ve completed the wizard, you’ll be presented with the following screen below. If all of your settings are correct and displaying green you can click “Finished”.

Snapt Aria Cache Wizard-6.1.png

Starting Cache:

Now it’s time to start your cache engine by clicking on the “Start Cache” button as seen on the screenshot below.
Snapt Aria Cache Wizard-6.2.png

Success:

The Snapt Aria UI should report “Cache started successfully” if all is in order.

Snapt Aria Cache Wizard-6.3.png