[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Document/ -> PreloadManagerInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 104 lines (3 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

PreloadManagerInterface:: (7 methods):
  getLinkProvider()
  setLinkProvider()
  preload()
  dnsPrefetch()
  preconnect()
  prefetch()
  prerender()


Interface: PreloadManagerInterface  - X-Ref

Joomla! Preload Manager Interface

getLinkProvider()   X-Ref
Get the link provider

return: EvolvableLinkProviderInterface

setLinkProvider(EvolvableLinkProviderInterface $linkProvider)   X-Ref
Set the link provider

param: EvolvableLinkProviderInterface  $linkProvider  The link provider
return: $this

preload(string $uri, array $attributes = [])   X-Ref
Preloads a resource.

param: string  $uri         A public path
param: array   $attributes  The attributes of this link (e.g. "array('as' => true)", "array('crossorigin' => 'use-credentials')")
return: void

dnsPrefetch(string $uri, array $attributes = [])   X-Ref
Resolves a resource origin as early as possible.

param: string  $uri         A public path
param: array   $attributes  The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)")
return: void

preconnect(string $uri, array $attributes = [])   X-Ref
Initiates an early connection to a resource (DNS resolution, TCP handshake, TLS negotiation).

param: string  $uri         A public path
param: array   $attributes  The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)")
return: void

prefetch(string $uri, array $attributes = [])   X-Ref
Indicates to the client that it should prefetch this resource.

param: string  $uri         A public path
param: array   $attributes  The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)")
return: void

prerender(string $uri, array $attributes = [])   X-Ref
Indicates to the client that it should prerender this resource.

param: string  $uri         A public path
param: array   $attributes  The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)")
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer