Bugfix: Undefined $cached (when caching is disabled)