Getting Started & WP admin
The cache invalidator works in two ways. It can register widget queries towards the QueryStreamer and/or it can listen to events coming from everyware notifier.
Settings
The first step is to setup the query streamer. You can find all the information you need in 1Password. Search for qs
.
Example config:
URL:
Username:
Password:
Set query suffix
Here you can append additional queries to all registered queries. Changes will only apply to queries already registered once a change is made. If you wish the suffix to be appended to old queries right away you need to run the query lookup.
Example
you have the following query registered in a widget:
By setting this suffix
Would register this query towards the QueryStreamer
Run query lookup
Resets existing queries, refetches all widget queries and register them to the QueryStreamer.
Delete all queries
All registered queries will be removed from the database and unregistered from the QueryStreamer.
Event handling
Check if you wish to listen to and invalidate from other events than those coming from the QueryStreamer.
The different events are: when a post gets saved, trashed, deleted, or when a board changes and when a widget gets updated.
Additionally there's two events that requires the notifier to be configed in Everyware. These two events triggers when a article or list updates from open content.
Query Streamer connection status
If your connection is successful you should see a green icon.
Invalidation endpoint status
If you have setup your lua endpoint correctly there should be a green icon.
Debug data
Shows all queries the plugin have registered, on what pages they're being used and by which widget.
Event log
This log shows you all events the plugin have picked up.
A event can have three different statuses.
Nothing to invalidate - which means the object could not be found in the cache.
Error - Something went wrong. Make sure your config is correct.
Success - The object was successfully removed from the cache.
Last updated
Was this helpful?