Comments (5)
// to cache only root route, use a regular expression
/^/$/
The author shows it in README.md
from nuxt-ssr-cache.
I use it in my product , it actually works. but i don't know how to get this cache instance
maybe we should inject this page-cache into context
like context.$pageCache
then we can do 'get' ,'set','del',and log it
from nuxt-ssr-cache.
How can I see that the cache is working? Are there any logging?
from nuxt-ssr-cache.
Hello
I want to cache only my home page that is "/"How can I do this?
pages: [ // you can also pass a regular expression to test a path '/' ],The code above is caching all pages.
what type of store you use? redis?
from nuxt-ssr-cache.
no, memory
from nuxt-ssr-cache.
Related Issues (20)
- TypeError: Cannot read property 'renderRoute' of undefined HOT 3
- Cache is not working HOT 3
- Config Enable/Disable HOT 1
- caching not working HOT 16
- version should be 1.5.2
- Missing documentation HOT 2
- How to determine dynamic version HOT 3
- [question] Are there plans to add Cache Headers usage HOT 2
- Feature Request - A hook to clear cache based on a key HOT 4
- TypeError: Cannot read property 'hostname' of undefined
- Issue with using nuxt-ssr-cache with Nuxt.JS universal-storage-module
- Why created, serverprefetch still getting called ?
- Can this skip caching the header HOT 1
- [Feature request] Set config using ModuleOptions (good to have)
- Handling dynamic routes and clearing cache programmatically HOT 1
- Security advisories: Regular Expression Denial of Service HOT 1
- Feature Request: Add support of mongodb store HOT 1
- ERROR Cannot redefine property: styles HOT 1
- Different users see different pages HOT 1
- Pages section is still required if key function is provided
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt-ssr-cache.