Changed how the clear cache methods work to allow clearing of cache that used query parameters.