From 9f373803cfa70862c466e29fe62dfbd981bec5cd Mon Sep 17 00:00:00 2001 From: re-fort Date: Wed, 21 Jun 2017 10:42:21 +0900 Subject: [PATCH 1/2] Translate caching.md via GitLocalize --- ja/caching.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ja/caching.md b/ja/caching.md index 0266d509..eefe3334 100644 --- a/ja/caching.md +++ b/ja/caching.md @@ -11,11 +11,11 @@ Vue の SSR は非常に高速ですが、コンポーネントインスタン ```js const microCache = LRU({ max: 100, - maxAge: 1000 // Important: entries expires after 1 second. + maxAge: 1000 // 重要: エントリーは1秒後に期限切れになります。 }) const isCacheable = req => { - // implement logic to check if the request is user-specific. - // only non-user-specific pages are cache-able + // リクエストがユーザー固有のものかどうかチェックするロジックを実装します。 + // ユーザー固有でないページのみがキャッシュ可能です。 } server.get('*', (req, res) => { const cacheable = isCacheable(req) From 2074f61e2b6e41a596b27a8c3fa2bb12ae0379a6 Mon Sep 17 00:00:00 2001 From: re-fort Date: Wed, 21 Jun 2017 12:05:16 +0900 Subject: [PATCH 2/2] Translate caching.md via GitLocalize --- ja/caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/caching.md b/ja/caching.md index eefe3334..91f9e6e2 100644 --- a/ja/caching.md +++ b/ja/caching.md @@ -11,7 +11,7 @@ Vue の SSR は非常に高速ですが、コンポーネントインスタン ```js const microCache = LRU({ max: 100, - maxAge: 1000 // 重要: エントリーは1秒後に期限切れになります。 + maxAge: 1000 // 重要: コンテンツの登録内容は1秒後に期限切れになります。 }) const isCacheable = req => { // リクエストがユーザー固有のものかどうかチェックするロジックを実装します。