YUKI Hiroshi
null+****@clear*****
Thu Nov 20 10:14:16 JST 2014
YUKI Hiroshi 2014-11-20 10:14:16 +0900 (Thu, 20 Nov 2014) New Revision: 31525481a0f3439bf687b7fb4ffaa5e200127f25 https://github.com/droonga/droonga.org/commit/31525481a0f3439bf687b7fb4ffaa5e200127f25 Message: Add descriptions of TTL for response caches Modified files: _po/ja/tutorial/1.0.8/dump-restore/index.po ja/tutorial/1.0.8/dump-restore/index.md tutorial/1.0.8/dump-restore/index.md Modified: _po/ja/tutorial/1.0.8/dump-restore/index.po (+15 -9) =================================================================== --- _po/ja/tutorial/1.0.8/dump-restore/index.po 2014-11-19 20:01:01 +0900 (f699e29) +++ _po/ja/tutorial/1.0.8/dump-restore/index.po 2014-11-20 10:14:16 +0900 (d046da4) @@ -344,15 +344,21 @@ msgid "" msgstr "" msgid "" -"Note: before sending a request for the `select` command, clear the response ca" -"che.\n" -"Otherwise you'll see unexpected cached result based on old configurations.\n" -"You can clear all response caches by sending an HTTP `DELETE` request to the p" -"ath `/cache`, like above." -msgstr "" -"注意: `select`コマンドにクエストを送る前に、まずキャッシュを削除しておいてください。\n" -"これを怠ると、古い情報に基づいて、キャッシュされた結果が意図せず返されてしまいます。\n" -"レスポンスキャッシュを削除するには、上記のように、`/cache`のパスの位置にHTTPの`DELETE`のリクエストを送信します。" +"Note, clear the response cache before sending a request for the `select` comma" +"nd.\n" +"Otherwise you'll see unexpected cached result based on old configurations." +msgstr "" +"`select`コマンドにクエストを送る前に、まずキャッシュを削除しておくことに注意が必要です。\n" +"これを怠ると、古い情報に基づいて、キャッシュされた結果が意図せず返されてしまいます。" + +msgid "" +"Response caches are stored for recent 100 requests, and their lifetime is 1 mi" +"nute, by default.\n" +"You can clear all response caches manually by sending an HTTP `DELETE` request" +" to the path `/cache`, like above." +msgstr "" +"既定の設定では、レスポンスキャッシュは直近の100リクエストに対して保存され、保持期間は1分間です。\n" +"上記のように、`/cache`のパスの位置にHTTPの`DELETE`のリクエストを送信すると、手動でレスポンスキャッシュを削除できます。" msgid "### Restore data from a dump result, to an empty Droonga cluster" msgstr "### ダンプ結果から空のDroongaクラスタへデータを復元する" Modified: ja/tutorial/1.0.8/dump-restore/index.md (+4 -2) =================================================================== --- ja/tutorial/1.0.8/dump-restore/index.md 2014-11-19 20:01:01 +0900 (28ae47e) +++ ja/tutorial/1.0.8/dump-restore/index.md 2014-11-20 10:14:16 +0900 (bee1382) @@ -242,9 +242,11 @@ $ curl "$endpoint/d/select?table=Store&output_columns=name&limit=10" | jq "." ] ~~~ -注意: `select`コマンドにクエストを送る前に、まずキャッシュを削除しておいてください。 +`select`コマンドにクエストを送る前に、まずキャッシュを削除しておくことに注意が必要です。 これを怠ると、古い情報に基づいて、キャッシュされた結果が意図せず返されてしまいます。 -レスポンスキャッシュを削除するには、上記のように、`/cache`のパスの位置にHTTPの`DELETE`のリクエストを送信します。 + +既定の設定では、レスポンスキャッシュは直近の100リクエストに対して保存され、保持期間は1分間です。 +上記のように、`/cache`のパスの位置にHTTPの`DELETE`のリクエストを送信すると、手動でレスポンスキャッシュを削除できます。 ### ダンプ結果から空のDroongaクラスタへデータを復元する Modified: tutorial/1.0.8/dump-restore/index.md (+4 -2) =================================================================== --- tutorial/1.0.8/dump-restore/index.md 2014-11-19 20:01:01 +0900 (8360d47) +++ tutorial/1.0.8/dump-restore/index.md 2014-11-20 10:14:16 +0900 (7b6df5c) @@ -235,9 +235,11 @@ $ curl "$endpoint/d/select?table=Store&output_columns=name&limit=10" | jq "." ] ~~~ -Note: before sending a request for the `select` command, clear the response cache. +Note, clear the response cache before sending a request for the `select` command. Otherwise you'll see unexpected cached result based on old configurations. -You can clear all response caches by sending an HTTP `DELETE` request to the path `/cache`, like above. + +Response caches are stored for recent 100 requests, and their lifetime is 1 minute, by default. +You can clear all response caches manually by sending an HTTP `DELETE` request to the path `/cache`, like above. ### Restore data from a dump result, to an empty Droonga cluster -------------- next part -------------- HTML����������������������������... Download