caching: stop storing keys

It removes a feature (template cache purging) but only for a minority
of users. However, it significantly decreases the amount of db writes
for *all* users and gets rid of some related issues.

fixes #521