You are here

function http_request_clear_cache in Feeds 8.2

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

Clear cache for a specific URL.

2 calls to http_request_clear_cache()
FeedsHTTPFetcher::clear in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php
Clear caches.
http_request_get in libraries/http_request.inc
Get the content from the given URL.

File

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

Code

function http_request_clear_cache($url) {
  cache()
    ->delete('feeds_http_download_' . md5($url));
}