Cached variables are now updated by the server

- Cached variables used to be updated on user requests, resulting in
longer load times of webpages. The update logic has been moved to a
timer so that variables are updated server side. This way we should be
able to keep response times very low