paragonie / airship

Secure Content Management for the Modern Web - "The sky is only the beginning"
https://cspr.ng
Other
418 stars 41 forks source link

Purge Cache #146

Closed ghost closed 8 years ago

ghost commented 8 years ago

Ideally, in Bridge -> Cabins -> Hull -> Manage -> Cabin Configuration, there should be a button to perform an immediate purge of the cache. This would be useful when making changes that could invalidate the cache contents (manually clearing the cache is easy enough, though not ideal for typical users).

paragonie-scott commented 8 years ago

:+1: There's an AJAX endpoint already; making a button for that should be simple enough.

The URL is: ://{hull}/ajax/clear_cache/{secret goes here}

paragonie-scott commented 8 years ago

https://github.com/paragonie/airship/commit/7b35063b6781bb2c347bb345b2f36d3e9a2a94ca https://github.com/paragonie/airship/commit/3ba8ea52ce68d67d0dfa15606527e0690d9a48cb