[webui] do not simply reset the cache but also write it to the backend

Really fixes #485
[api] add more features to the request RNG

I also added a test case to check our existant schema - to great horror
it's all failing -> issue #489