Fix some caching issues on static resources