Installations
npm install @nuxtjs/component-cache
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.16.2
NPM Version
lerna/3.20.2/node@v12.16.2+x64 (linux)
Score
73.8
Supply Chain
65.9
Quality
81.8
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Languages
TypeScript (98.49%)
JavaScript (1.51%)
Developer
Download Statistics
Total Downloads
2,278,793
Last Day
775
Last Week
3,632
Last Month
12,862
Last Year
249,744
GitHub Statistics
964 Stars
991 Commits
269 Forks
12 Watching
9 Branches
233 Contributors
Bundle Size
8.96 kB
Minified
2.94 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.6
Package Id
@nuxtjs/component-cache@1.1.6
Unpacked Size
5.86 kB
Size
2.30 kB
File Count
5
NPM Version
lerna/3.20.2/node@v12.16.2+x64 (linux)
Node Version
12.16.2
Total Downloads
Cumulative downloads
Total Downloads
2,278,793
Last day
-1.5%
775
Compared to previous day
Last week
1.2%
3,632
Compared to previous week
Last month
-30.3%
12,862
Compared to previous month
Last year
-20.9%
249,744
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Component Cache
vue-server-renderer has built-in support for component-level caching. This module automatically adds a LRU cache to project.
Setup
- Add
@nuxtjs/component-cache
dependency using yarn or npm to your project - Add
@nuxtjs/component-cache
tomodules
section ofnuxt.config.js
1{ 2 modules: [ 3 // Simple usage 4 '@nuxtjs/component-cache', 5 6 // With options 7 ['@nuxtjs/component-cache', { maxAge: 1000 * 60 * 60 }], 8 ] 9}
Options
See component-level caching for mor information.
max
- default:
10000
maxAge
- default:
1000 * 60 * 15
(15 minutes)
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
GitHub workflow tokens follow principle of least privilege
Details
- Info: topLevel 'contents' permission set to 'read': .github/workflows/autofix.yml:7
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:12
- Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:12
- Info: no jobLevel write permissions found
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/nuxt/.github/SECURITY.md:1
- Info: Found linked content: github.com/nuxt/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nuxt/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/nuxt/.github/SECURITY.md:1
Reason
0 existing vulnerabilities detected
Reason
Found 12/29 approved changesets -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autofix.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/autofix.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autofix.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/autofix.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/nuxt/modules/release.yml/main?enable=pin
- Info: 0 out of 6 GitHub-owned GitHubAction dependencies pinned
- Info: 1 out of 1 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 14 are checked with a SAST tool
Score
7.2
/10
Last Scanned on 2025-01-13
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More