Anoop P Alias

Well-Known Member
Mar 31, 2015
103
16
18
Kochi,Kerala,India
cPanel Access Level
Root Administrator
HTTP/2 guide - Apache HTTP Server Version 2.4

it should work if the application set the headers in the response.

Or if you set the header explicitly in apache httpd config as below


<Location /xxx.html>
Header add Link "</xxx.css>;rel=preload"
Header add Link "</xxx.js>;rel=preload"
</Location>

Note that it will push the respective file mentioned only
 
  • Like
Reactions: vacancy

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello,

Let us know if you have any additional questions.

Thanks!