You are here

function http_request_clear_cache in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 libraries/http_request.inc \http_request_clear_cache()
  2. 6 libraries/http_request.inc \http_request_clear_cache()
  3. 7 libraries/http_request.inc \http_request_clear_cache()

Clear cache for a specific URL.

Parameters

string $url: The URL to clear.

2 calls to http_request_clear_cache()
FeedsHTTPFetcher::clear in plugins/FeedsHTTPFetcher.inc
Clear caches.
feeds_http_request in libraries/http_request.inc
Get the content from the given URL.

File

libraries/http_request.inc, line 447
Download via HTTP.

Code

function http_request_clear_cache($url) {
  cache_clear_all(hash('sha256', $url), 'cache_feeds_http');
}