Implement asset caching for dynamically served assets