cache implemented (/util/cache.py modified)