Jump to content

http2 server push option in IPS4


sobrenome

Recommended Posts

Posted

it does look promising feature. would like to hear some input from ips staff aswell

https://httpd.apache.org/docs/2.4/howto/http2.html#push

i really doubt i did this correctly but i edited templates on includecss to add this because my site is using cloudflare too. 

    <link rel='stylesheet' href='{expression="\IPS\Http\Url::external( $file )->setQueryString( 'v', \IPS\SUITE_UNIQUE_KEY )"}' media='all' rel='preload' as='stylesheet'>

Posted

The problem with h2 push is that it can't take account of caching, because you are just sending the data to the client without it asking, but almost all resources that you would serve with a site running IPS are cacheable by the client, so it would actually use more bandwidth and potentially be a bit slower, because most users will have the resources cached.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...