How to

Varnish command to help

Reset (purge) the cache

varnishadm -T 127.0.0.1:6082 url.purge .

 

Test results

Getting nitrate since 2015

 

TryTime (sec)
1st21.062
2nd6.426
3rd0.299

Getting nitrate since 2014

 

curl -s -w "%{time_total}\n" -o /dev/null "http://127.0.0.1:6081/clowder/api/geostreams/datapoints?attributes=nitrate-as-n-mgl&since=2014"
TryTime (sec)
1st120.002
2nd0.039
3rd0.000