Open oskarrough opened 1 year ago
Name | Link |
---|---|
Latest commit | f59664dd103c758424a0aa605c03c2bdad69c849 |
Latest deploy log | https://app.netlify.com/sites/radio4000-components/deploys/6491a518ccba990008d89af1 |
Deploy Preview | https://deploy-preview-89--radio4000-components.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
The new Cache
saves the results of queries in a map. It only sends a new request when 1) it's an unknown query 2) cache expired (by default 1 min). Access the cache on this.store.cache
.
before
const {data, error} = await sdk.channels.readChannel(slug)
after
const {data, error} = await this.store.cache.get(`channel/${slug}`, () => sdk.channels.readChannel(slug))
Not to be merged. Playing around with it.