Mity Docs Mity Docs for Mity Digital
Feedamic Documentation

Cache Config

To help with performance, Feedamic will cache your generated feeds. This is enabled by default.

Feedamic's caching will use whatever cache you have configured within your env file.

Disabling the cache

You can disable the cache in your env:

1FEEDAMIC_CACHE_ENABLED=false

By default, this will be true, so you only need to add it if you want to disable the cache.

Feedamic's Cache Key

By default, this will be feedamic.

This is the prefix for all of your Feeds' cache keys.

You should probably never need to change this... but if you do, you'll need to publish Feedamic's config file.

A Feed's Cache Key

Each feed will have a Cache Key.

You can use this to programmatically clear the cache if you need.

Each key is made up of:

  1. Feedamic's cache key,

  2. the Feed's handle,

  3. the Site's handle, and

  4. the Feed type

For example, an Atom feed for the AU site for the "blog" feed would look like feedamic.blog.au.atom.

Clearing the cache

There's a command to help you clear Feedamic's cache. This can be useful during deployments.

When you save an Entry, your Feedamic cache will be cleared.

And if you're using Statamic's cache invalidator or Mity Digital's cache invalidator, Feedamic will also clear your cache.

When saving or invalidating, only the Feeds that are configured to use the Entry's Collection will be cleared.