Introduce cache

Cache can be disabled by env var CACHE_DISABLED=1