Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@nuxtjs/component-cache
Advanced tools
[![npm](https://img.shields.io/npm/dt/@nuxtjs/component-cache.svg?style=flat-square)](https://www.npmjs.com/package/@nuxtjs/component-cache) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/component-cache/latest.svg?style=flat-square)](http
vue-server-renderer has built-in support for component-level caching. This module automatically adds a LRU cache to project.
@nuxtjs/component-cache
dependency using yarn or npm to your project@nuxtjs/component-cache
to modules
section of nuxt.config.js
{
modules: [
// Simple usage
'@nuxtjs/component-cache',
// With options
['@nuxtjs/component-cache', { maxAge: 1000 * 60 * 60 }],
]
}
See component-level caching for mor information.
max
10000
maxAge
1000 * 60 * 15
(15 minutes)FAQs
[![npm](https://img.shields.io/npm/dt/@nuxtjs/component-cache.svg?style=flat-square)](https://www.npmjs.com/package/@nuxtjs/component-cache) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/component-cache/latest.svg?style=flat-square)](http
The npm package @nuxtjs/component-cache receives a total of 2,015 weekly downloads. As such, @nuxtjs/component-cache popularity was classified as popular.
We found that @nuxtjs/component-cache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.