only enable local cache in development