You are here

function http_request_get_cache in Feeds 7.2

Gets the cache for a specific URL.

Parameters

string $url: The URL to find the cached item.

Return value

object|false The cache or FALSE on failure.

1 call to http_request_get_cache()
feeds_http_request in libraries/http_request.inc
Get the content from the given URL.

File

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

Code

function http_request_get_cache($url) {
  return cache_get(hash('sha256', $url), 'cache_feeds_http');
}