steadlane/silverstripe-cloudflare

View on GitHub
_config/cloudflare.yml

Summary

Maintainability
Test Coverage
---
Name: cloudflare
---

SteadLane\Cloudflare\CloudFlare:
  log_errors: true
  debug: false
  # Number of seconds before the cURL request execution will time out.
  curl_timeout: 20
  # Whether caching is enabled for the CloudFlare class. With multiple zones, this needs to be disabled.
  cache_enabled: true
  # Whether to purge related pages on publish as well
  should_purge_relations: true
  # Blacklist specific directories from the UI purger functions. Blacklisting directories can increase response
  # time significantly
  purge_dir_blacklist:
    - vendor
    - resources
    - _resources