Skip to Content


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

PHP June 26, 2017


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 CSS and JS files.

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?


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