add url and method to clear cache