only cache static cache in production