@@ -46,17 +46,19 @@ If you want to explore the data returned via the plugin to the snippet or that y
4646
4747## Configuration Options
4848
49- | Property | Default | Required? | Description |
50- | -----------------| -----------------| -----------| ------------------------------------------------|
51- | username | ` null ` | Yes | Your Mastodon username |
52- | instance | ` null ` | Yes | Your Mastodon instance (e.g. mastodon.social) |
53- | cache | ` true ` | No | Caches data returned from Mastodon API. |
54- | cachettl | ` 900 ` | No | Cache timeout - 15 minutes default (900s) |
55- | limit | ` 20 ` | No | Number of results to return/display |
56- | dateformat | ` M d, Y ` | No | Adjust date format per PHP datetime formats |
57- | excludereplies | ` true ` | No | Exclude replies from results? |
58- | onlymedia | ` false ` | No | Only show posts with media attachments? |
59- | panel.limit | ` 12 ` | No | Number of results to display in the Panel Area |
49+ | Property | Default | Req? | Description |
50+ | -------------------------------| ----------| ------| ------------------------------------------------|
51+ | cache.scottboms.mastodon.type | ` file ` | Yes | Required to enable cache type for the plugin |
52+ | username | ` null ` | Yes | Your Mastodon username |
53+ | server | ` null ` | Yes | Your Mastodon server (e.g. mastodon.social) |
54+ | cache | ` true ` | No | Caches data returned from Mastodon API. |
55+ | cachettl | ` 900 ` | No | Cache timeout - 15 minutes default (900s) |
56+ | limit | ` 20 ` | No | Number of results to return/display (max 40) |
57+ | dateformat | ` M d, Y ` | No | Adjust date format per PHP datetime formats |
58+ | excludereplies | ` true ` | No | Exclude replies from results? |
59+ | onlymedia | ` false ` | No | Only show posts with media attachments? |
60+ | panel.limit | ` 12 ` | No | Number of results to display in the Panel Area |
61+
6062
6163Date formatting follows the [ available format options from PHP] ( https://php.net/manual/en/function.date.php ) .
6264
@@ -65,6 +67,12 @@ Example Config:
6567``` php
6668<?php
6769 return [
70+ 'cache' => [
71+ 'scottboms.mastodon' => [
72+ 'type' => 'file',
73+ ]
74+ ],
75+
6876 'scottboms.mastodon' => [
6977 'username' => 'scottboms',
7078 'instance' => 'mastodon.social',
0 commit comments