Artica Wiki

Cache only a part of your site

In this case, you don't want the reverse-proxy to cache your entire site, but just a few URLs or paths.

Enabling cache only on specific path sections in the reverse-proxy provides a number of benefits, particularly when you want to optimize caching behavior for different types of content and traffic patterns. 

This feature is available with Artica v4.50 Service Pack 1 or Artica v4.50 Hotfix 20240924-02

By enabling caching on paths that serve static content (e.g., /static/, /images/, or /css/), you can significantly improve performance. Static assets don’t change frequently, so they are ideal for caching.

For example, caching paths like /static/ or /assets/ can offload a lot of the static asset serving to reverse-proxy and reduce backend workload.

Caching certain paths allows you to apply different cache durations or policies to different types of content. 
For example:

By enabling cache selectively on paths, you can finely control how different content is cached and how often the cache is refreshed.

1) Ensure the cache is globally enabled.

At the very least, you need to activate the cache system in the global settings.
This option will not enable caching on your site, but simply make the caching functionality available.

2) Enable caching on a specific path