Mity Docs Mity Docs for Mity Digital
Feedamic Documentation

Cache

Your feeds when rendered are cached forever. When using multiple feeds, each feed has its own cache too.

To clear the cache, you can do one of a few things:

Clear the entire cache

You can force clear the entire Feedamic cache by running:

1php please feedamic:clear

This is handy to run as part of your deployment scripts, just to be safe.

Clear by feed handle

You can also clear the cache for a specific feed (or feeds).

Let's imagine you have three feeds - news, blog and specials - but you only want to clear the news and blog feeds. Simply pass your configured keys to the feedamic:clear command with the handles option: just separate each handle with a comma.

1php please feedamic:clear --handles=news,blog

This will, by default, apply to all Sites.

You can use the --handles option in conjunction with the --sites option.

Clear by Site

You can clear the cache for a specific Site (or Sites).

If you have two Sites configured - AU and CA - but only want to clear the AU feed, you can pass the Site handles to the feedamic:clear command with the sites option. You can pass multiple Site handles too: just separate each handle with a comma.

1php please feedamic:clear --sites=au

This will, by default, apply to all Feeds configured for your specified Sites.

You can use the --sites option in conjunction with the --handles option.