Add cache rules and purge test

Change-Id: I9e2af3ce6aa7fe3f40d3d8771e7d0144ab19bf32
This commit is contained in:
Sabeen Syed
2015-04-10 17:33:57 -05:00
parent d10bb01b85
commit 9937d97ae5
5 changed files with 304 additions and 0 deletions

View File

@@ -45,3 +45,15 @@ base_url=http://www.webpagetest.org/
api_key={api key for webpagetest instance}
# 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={cache_rule2}
ttl_rule2=20
cache_path_rule3={cache_rule3}
ttl_rule3=30
[purgetime]
# Time to wait for purging content to complete
purge_wait_time=900