Reload contents of target URL for clear browser cache

@param  String  url target URL
@return Object  jQuery.Deferred
762274
function(url) {
		var dfd = $.Deferred(),
			ifm;
		try {
			ifm = $('<iframe width="1" height="1" scrolling="no" frameborder="no" style="position:absolute; top:-1px; left:-1px" crossorigin="use-credentials">')
				.attr('src', url)
				.one('load', function() {
					var ifm = $(this);
					try {
						this.contentDocument.location.reload(true);
						ifm.one('load', function() {
							ifm.remove();
							dfd.resolve();
						});
					} catch(e) {
						ifm.attr('src', '').attr('src', url).one('load', function() {
							ifm.remove();
							dfd.resolve();
						});
					}
				})
				.appendTo('body');
		} catch(e) {
			ifm && ifm.remove();
			dfd.reject();
		}
		return dfd;
	}
522099
public function purge($url)
    {
        $cacheKey = $this->getCacheKey(Request::create($url));

        return $this->cache->deleteItem($cacheKey);
    }
25025
public function load($url)
    {
        $masterRequest = $this->requestStack->getMasterRequest();
        $request = Request::create($url, 'GET', array(), $masterRequest->cookies->all(), array(), $masterRequest->server->all());
        if ($masterRequest->getSession()) {
            $request->setSession($masterRequest->getSession());
        }

        $response = $this->kernel->handle($request, HttpKernelInterface::SUB_REQUEST, false);

        return $response->getContent();
    }
1036773
function loadPage(url) {
		$("#container").load(url+" #container > *", function(response, status, xhr){
			$('html,body').scrollTop(0); // Scroll to the top when loading new page.
			if(status == "error"){
				$("#container").prepend('<p class="alert alert-danger" role="alert"><strong>'+msgError+'</strong> '+xhr.status+' '+xhr.statusText+' <small>'+url+'</small></p>');
			} else if(status == "success"){
				cloak.message('loaded', url); // Respond back to server with 'loaded' message
			}
		});	
		
	}
314979
protected function _maybe_refresh_cache( $url ) {
		$cache = Cache::get( $url );

		if ( ! $cache || is_admin() ) {
			Cache::refresh( $url );
		}
	}
1184305
def reload(url = nil, parameters = {})
      httparty = self.class.get(url || self[:@url], StorageRoom.request_options.merge(parameters))
      hash = httparty.parsed_response.first[1]
      reset!
      set_from_response_data(hash)
      true
    end
1327965
public function from($url)
	{
		$this->opts['target'] = $this->client->getDatabaseUri();
		$this->opts['source'] = $url;
		return $this->_launch();
	}
270730
public PrefetchResponse prefetch(String url) {
        return prefetch(new PrefetchRequest().addTask(new PrefetchTask().withUrl(url)));
    }
1190972
function freezeUrl($url)
    {
        if (in_array($url, $this->frozen)) {
            return;
        }

        $client = new HttpKernel\Client($this->application);
        $client->request('GET', $url);

        $response = $client->getResponse();

        if (!$response->isOk()) {
            return;
        }

        $destination = $this->application['freezer.destination'] . $this->getFileName($url);

        if (!is_dir(dirname($destination))) {
            mkdir(dirname($destination), 0755, true);
        }

        file_put_contents($destination, $response->getContent());

        $this->frozen[] = $url;
    }
362785
function getAndCache (url) {
  var xhr = new XMLHttpRequest(); // eslint-disable-line

  if (cache[url]) {
    return cache[url]
  }

  xhr.open('GET', url, false);
  xhr.send();
  var script = xhr.responseText;
  cache[url] = evalJS(script);
  return cache[url]
}
348519
function (url) {
      return $.Deferred(function (deferred) {
        var $img = $('<img>');

        $img.one('load', function () {
          $img.off('error abort');
          deferred.resolve($img);
        }).one('error abort', function () {
          $img.off('load').detach();
          deferred.reject($img);
        }).css({
          display: 'none'
        }).appendTo(document.body).attr('src', url);
      }).promise();
    }
542817
public function loadDocument($url)
    {
        // Try to return a cached document
        $document = $this->vocabularyCache->getDocument($url);
        if ($document instanceof RemoteDocument) {
            return $document;
        }

        return $this->vocabularyCache->setDocument($url, parent::loadDocument($url));
    }
1117575
function upgrade_reload($url) {
        return html_writer::empty_tag('br') .
                html_writer::tag('div',
                    html_writer::link($url, $this->pix_icon('i/reload', '', '', array('class' => 'icon icon-pre')) .
                            get_string('reload'), array('title' => get_string('reload'))),
                array('class' => 'continuebutton')) . html_writer::empty_tag('br');
    }
627749
public static function refresh( $url ) {
		$parser = new Parser( $url );

		$cache = [
			'permalink'   => $parser->get_permalink(),
			'thumbnail'   => $parser->get_thumbnail(),
			'title'       => $parser->get_title(),
			'description' => $parser->get_description(),
			'favicon'     => $parser->get_favicon(),
			'domain'      => $parser->get_domain(),
			'cached_time' => time(),
		];

		$expiration = empty( $cache['title'] ) ? HOUR_IN_SECONDS : YEAR_IN_SECONDS;

		set_transient( static::_get_meta_key( $url ), $cache, $expiration );
	}
861383
public static function fetchJsonResponse(string $url): string
    {
        $response = self::getBrowser()->get($url, [
            'Accept' => 'application/json',
            'X-Internal-Request' => 'true'
        ]);

        self::handleFailure($response);

        return $response->getBody()->getContents();
    }
466854
public function refreshOverseaUrl($url)
    {
        $urls = is_array($url) ? $url : func_get_args();

        return $this->request($urls, 'urls', 'RefreshCdnOverSeaUrl');
    }
908712
public function httpGetRequest($url)
    {
        // Check for cache hit.
        if ($this->useCache()) {
            $cache = $this->getCache();

            if ($response = $cache->get($url)) {
                return $response;
            }
        }

        if (empty($this->client)) {
            $this->client = new Client(['verify' => false]);
        }

        $this->response = $this->client->request(
            'GET',
            $url,
            ['headers' => $this->getHeaders()]
        );
        $response = json_decode($this->response->getBody());

        if (!empty($cache)) {
            $cache->put($url, $response, $this->getCacheTtl());
        }

        return $response;
    }