Fix adding caching headers to assets