Create the cache in the load action and destroy it in the unload action for OIIOReader