Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

Custom Cache Key

Custom Cache Key

最終更新 Markdown で表示Agent セットアップ

ホスト名に example.com を含むリクエストについて、すべてのクエリ文字列パラメーターを使うカスタム Cache Key を設定する Cache Rule を作成 します。

  • When incoming requests match: Custom filter expression

    • Expression Builder を使う:
      Hostname contains "example.com"
    • Expression Editor を使う:
      (http.host contains "example.com")
  • Then:

    • Cache eligibility: Eligible for cache
    • Setting: Cache key
      • Query string: All query string parameters

カスタム Cache Key で使える設定の詳細は Cache Key を参照してください。

役に立ちましたか?