Skip to content

Instantly share code, notes, and snippets.

@BeenzSyed
Last active August 29, 2015 14:19
Show Gist options
  • Save BeenzSyed/67e2ea441f7b2f90206b to your computer and use it in GitHub Desktop.
Save BeenzSyed/67e2ea441f7b2f90206b to your computer and use it in GitHub Desktop.
root@donotdelete-cdn:~/.poppy# cat cachepurge.conf
#=============================================================================
# Configuration file to execute End To End tests.
#=============================================================================
[auth]
user_name=cdndev
api_key=
base_url=https://identity.api.rackspacecloud.com/v2.0
[test_configuration]
wordpress_origin=162.209.63.93
webpagetest_enabled=True
[orchestration]
base_url=https://iad.orchestration.api.rackspacecloud.com/v1/862456/
yaml_path=endtoend/wordpress-single.yaml
[poppy]
base_url=https://preview.cdn.api.rackspacecloud.com
flavor=cdn
status_check_retry_interval=2
status_check_retry_timeout=30
project_id_in_url=True
[dns]
test_domain=cnamecdn.com
email=sabeen.syed@rackspace.com
retry_interval=2
retry_timeout=180
dns_api_timeout=30
# the authoritative nameserver to poll for cname records to show up
authoritative_nameserver=1.2.3.4
# once the authoritative nameserver resolves a record, wait this amount of time
# for the caching nameservers to pick up the change
cname_propagation_sleep=30
# Wait this amount of time to avoid fetching an access_url to soon on ssl tests
cdn_provider_dns_sleep=60
[webpagetest]
base_url=http://www.webpagetest.org/
api_key=f46c3e23a41b421ea10d70a0d79a321d
# GET http://www.webpagetest.org/getLocations.php - Use <id> tag
test_locations=Wellington:Chrome, Indore:Firefox, Stockholm:Safari, Dulles:Firefox, Miami:Chrome
[cacherules]
cache_path_rule1=/static/images/products/image2_320x150.jpg
ttl_rule1=10
cache_path_rule2=/static/css/main.css
ttl_rule2=20
cache_path_rule3=https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js
ttl_rule3=30
[purgetime]
# Time to wait for purging content to complete
purge_wait_time=900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment