Skip to Content
Menu

scripts_http2_server_push_header()

Adds a header for HTTP2 Server Push if available by the server.

PHP March 30, 2021

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Additional Notes

The Service Worker Nebula option must be enabled, and the service worker file must be in the proper location (default: root directory) for this function to send the HTTP2 Server Push headers.

This function requests a server push of all enqueued local JS files.

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    This function was not found in /libs/Optimization.php. Please report this error.

    No Hooks

    This function does not have any filters or actions available. Request one?

    Override

    This function can not be short-circuited with an override filter. Request one?