Development mode

更新时间:
复制 MD 格式

When enabled, development mode temporarily bypasses the caching components of Edge Security Acceleration (ESA) and forwards all static resource requests directly to your origin server, so you can verify content changes in real time.

Important
  • Unless you are making significant changes to your website, use the purge cache feature instead of enabling development mode.

  • Development mode forwards all static resource requests to your origin server, which can significantly increase your origin server's bandwidth and CPU usage, as well as back-to-origin traffic.

  • Development mode overrides all cache rules.

  • Development mode automatically turns off after three hours. You can also disable it manually at any time to reduce the load on your origin server.

Use cases

Development mode helps you debug how static resources are delivered and displayed.

  • When development mode is off, ESA serves static resources from cached content at the nearest point of presence (POP), based on your cache rules.

  • When development mode is on, static resource requests bypass the caching component at ESA POPs and go directly to your origin server. This lets you compare content served from the origin with content served from the cache.

Enable development mode

  1. In the ESA console, navigate to Websites. In the Website column, click the name of your target website.

  2. In the navigation pane on the left, choose Caching > Settings.

  3. Turn on the Development Mode switch.

    image