-
Notifications
You must be signed in to change notification settings - Fork 20
Mustash api
Mark Croxton edited this page Jan 24, 2017
·
13 revisions
The Mustash API allows you to trigger predefined cache breaking rules via a URL endpoint.
On the settings screen, check the API plugin to activate it, enter an API key (which must be 16, 24 or 32 characters long exactly), create one or more API custom hooks, and press the 'save' button. Make a note of the API URL displayed:
Create one or more cache-breaking rules for the hook(s) that you just created:
To trigger rules attached to your custom hook, pass the hook as an argument to the API URL:
http://www.my_website.com/?ACT=123&key=456…&hook=my_hook
Getting started
Using Stash
Using Mustash
- Mustash
- Installing Mustash
- Managing variables
- Managing bundles
- Cache-breaking rules
- Mustash plugins
- Mustash Varnish plugin
- Mustash plugin development
- Mustash API
Template design patterns
Tag reference
- {exp:stash:set}
- {exp:stash:get}
- {exp:stash:block}
- {exp:stash:set_value}
- {exp:stash:append}
- {exp:stash:append_value}
- {exp:stash:prepend}
- {exp:stash:prepend_value}
- {exp:stash:copy}
- {exp:stash:context}
- {exp:stash:is_empty}
- {exp:stash:not_empty}
- {exp:stash:set_list}
- {exp:stash:get_list}
- {exp:stash:append_list}
- {exp:stash:prepend_list}
- {exp:stash:split_list}
- {exp:stash:join_lists}
- {exp:stash:list_count}
- {exp:stash:unset}
- {exp:stash:flush_cache}
- {exp:stash:bundle}
- {stash:embed}
- {exp:stash:extend}
- {exp:stash:parse}
- {exp:stash:cache}
- {exp:stash:static}
- {exp:stash:finish}
- {exp:stash:not_found}
- Short tag syntax
- Using Stash methods in your own add-ons