Texonom
Texonom
/
Application
Application
/Network Science/ICT/Computer Network/Internet/WWW/Web Service/Web App/Web App Framework/
Vue
Vue
/Vue Tool/Vue Framework/
Nuxt js
Nuxt js
/Nuxt Server/
Nuxt Server HTTP2
Search

Nuxt Server HTTP2

render: { csp: { addMeta: true }, etag: { hash: html => murmurHash128(html) }, http2: { push: true, pushAssets: (req, res, publicPath, preloadFiles) => preloadFiles.map(f => `<${publicPath}${f.file}>; rel=preload; as=${f.asType}`) } },
 
 
 
 
 
 
Add HTTP 2 Server Push to Nuxt JS Application (Universal Mode) - Tested in Zeit Now
While developing my Nuxt.js app, the one thing I tried to do most was HTTP/2 Server Push, as I am hosting my app on Zeit Now which does support both HTTP/2 and Server Push. The main reason I wanted to do it was I was using Bootstrap Vue on my project.
Add HTTP 2 Server Push to Nuxt JS Application (Universal Mode) - Tested in Zeit Now
https://gist.github.com/isaumya/cecabfe987b314ecca6c59b655b3093e
Add HTTP 2 Server Push to Nuxt JS Application (Universal Mode) - Tested in Zeit Now
 
 

Recommendations

Texonom
Texonom
/
Application
Application
/Network Science/ICT/Computer Network/Internet/WWW/Web Service/Web App/Web App Framework/
Vue
Vue
/Vue Tool/Vue Framework/
Nuxt js
Nuxt js
/Nuxt Server/
Nuxt Server HTTP2
Copyright Seonglae Cho