Fixing asset caching bugs with attributes