Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

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 を参照してください。

役に立ちましたか?