Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanoverna/82fd0b908f2a3bdc0306b9519dea7286 to your computer and use it in GitHub Desktop.
Save stefanoverna/82fd0b908f2a3bdc0306b9519dea7286 to your computer and use it in GitHub Desktop.
for ((i=1;i<=100;i++)); do curl 'https://datocms-gql.global.ssl.fastly.net/' -H 'Authorization: faeb9172e232a75339242faafb9e56de8c8f13b735f7090964' -H 'Content-Type: application/json' -H 'Accept:
application/json' --data-binary '{ "query": "{ faq { question } }" }' -D - -s | grep -e X-Cache -e X-Served-By; done
X-Served-By: cache-lcy19247-LCY, cache-fra19145-FRA
X-Cache: MISS, HIT
X-Cache-Hits: 0, 1
X-Served-By: cache-lcy19226-LCY, cache-fra19133-FRA
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Served-By: cache-lcy19228-LCY, cache-fra19137-FRA
X-Cache: MISS, HIT
X-Cache-Hits: 0, 1
X-Served-By: cache-lcy19224-LCY, cache-fra19127-FRA
X-Cache: HIT, MISS
X-Cache-Hits: 2, 0
X-Served-By: cache-lcy19223-LCY, cache-fra19144-FRA
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Served-By: cache-lcy19239-LCY, cache-fra19151-FRA
X-Cache: MISS, HIT
X-Cache-Hits: 0, 1
X-Served-By: cache-lcy19224-LCY, cache-fra19122-FRA
X-Cache: HIT, HIT
X-Cache-Hits: 1, 1
X-Served-By: cache-lcy19240-LCY, cache-fra19147-FRA
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Served-By: cache-lcy19224-LCY, cache-fra19146-FRA
X-Cache: HIT, MISS
X-Cache-Hits: 3, 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment