
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
nuxt-multi-cache
Advanced tools
Caches pages based on the route and purge a cached page.
<template>
<div>
<h1>Welcome!</h1>
</div>
</template>
<script>
export default {
asyncData({ app }) {
return app.$api.get('article', { id: 10 }).then(article => {
app.$cache.page.setCacheable()
app.$cache.page.addTags(['article:10'])
return { article }
})
},
data() {
return {
article: {}
}
}
}
</script>
curl -X POST -i \
-H "Authorization: Basic YWRtaW46aHVudGVyMgo=" \
-H "Content-Type: application/json" \
--data '["article:10"]' \
http://localhost:3000/__nuxt_multi_cache/purge/tags
Caching is hard. You should be aware of the risks and potentially huge security issues that may arise when caching an entire page.
Always make sure to never cache anything with content restricted to authenticated users. Else you may leak sensitive information to anonymous users.
FAQs
SSR route, component and data cache for Nuxt
The npm package nuxt-multi-cache receives a total of 6,788 weekly downloads. As such, nuxt-multi-cache popularity was classified as popular.
We found that nuxt-multi-cache demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.