![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
nuxt-netlify-http2-server-push
Advanced tools
Nuxt.js module for enabling HTTP/2 server push on Netlify
Nuxt.js module for enabling HTTP/2 server push on Netlify
This module generates a _headers
file which enables HTTP/2 server push on Netlify.
nuxt-netlify-http2-server-push
dependency using yarn or npm to your project$ npm install --save nuxt-netlify-http2-server-push
# or
$ yarn add nuxt-netlify-http2-server-push
nuxt-netlify-http2-server-push
to the modules
section of nuxt.config.js
and configure the resources
property{
modules: [
[
'nuxt-netlify-http2-server-push',
{
// Specify relative path to the dist directory and its content type
resources: [
{ path: '**/*.js', as: 'script' },
{ path: 'images/hero.jpg', as: 'image' },
{ path: 'fonts/*.woff2', as: 'font', type: 'font/woff2', crossorigin: 'anonymous' },
{ path: 'images/bg-image-narrow.png', as: 'image', media: '(max-width: 600px)', },
]
}
]
]
}
Just run nuxt generate
or call nuxt.generate()
.
This module will generate a _headers
file in the root of the dist
directory. If you have your own _headers
file, the additional lines will be appended to it.
Please read https://www.netlify.com/blog/2017/07/18/http/2-server-push-on-netlify/ for more details about HTTP/2 Server Push on Netlify.
yarn install
or npm install
npm run dev
Copyright (c) Yoshihide Jimbo
0.1.3 (2019-06-14)
<a name="0.1.2"></a>
FAQs
Nuxt.js module for enabling HTTP/2 server push on Netlify
The npm package nuxt-netlify-http2-server-push receives a total of 0 weekly downloads. As such, nuxt-netlify-http2-server-push popularity was classified as not popular.
We found that nuxt-netlify-http2-server-push demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.