changed from current internal URL to internalUri in converting URL so clearing cache from task works