Modification of the cached_plugin to use new func

The cached_plugin.py now uses the function
requestLocalCache by parsing the input.