Caching of resources that are not rehashed across UI changes

Integrate fixes from oaeproject/3akai-ux#2739. Please do not integrate the mobile section yet, as /mobile doesn't point to anything that exists.

Assigning to @mrvisser to fix.