We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40048e commit 8b653b0Copy full SHA for 8b653b0
src/components/Item.vue
@@ -32,7 +32,7 @@ import { timeAgo } from '../util/filters'
32
export default {
33
name: 'news-item',
34
props: ['item'],
35
- // https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer#component-caching
+ // http://ssr.vuejs.org/en/caching.html#component-level-caching
36
serverCacheKey: ({ item: { id, __lastUpdated, time }}) => {
37
return `${id}::${__lastUpdated}::${timeAgo(time)}`
38
}
0 commit comments