caching folders to reduce build time