Add caching to minify