Fix cache and gulpfile bugs