cacheClearHandler
cacheClearHandler ⇒ function
Server middleware that empties the process cache when Drupal asks.
Accepts POST with the secret in the X-Druxt-Secret header, never in the URL,
so it stays out of access logs.
Kind: global constant
Returns: function - A Connect handler.
| Param | Type | Description |
|---|---|---|
| secret | string | The shared secret, from druxt.cache.secret. |