wp_preload_resources


wp_preload_resources ( No parameters )

Description

Prints resource preloads directives to browsers.Gives directive to browsers to preload specific resources that website will need very soon, this ensures that they are available earlier and are less likely to block the page's render. Preload directives should not be used for non-render-blocking elements, as then they would compete with the render-blocking ones, slowing down the render. These performance improving indicators work by using ``.

Related Functions

wp_preload_dialogs, wp_remote_request, wp_resource_hints, rest_preload_api_request, wp_load_press_this

Top Google Results

User discussions

wpseek mobile