Added API tracing
Altered caching