Skip to content

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

デバイスタイプでキャッシュする

デバイスタイプでキャッシュする

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

ホスト名に example.com を含むリクエストについて、User-Agent またはデバイスタイプに基づいてコンテンツをキャッシュする 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
      • Cache by device type: On

役に立ちましたか?