Skip to content

Commit

Permalink
Add test into to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gugahoi committed Dec 2, 2022
1 parent 6055e99 commit 393df6f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@ This project is a minnimum reproducible repo that aims to replicate a problem th

Website: https://api-demo-94c7a.web.app
API: https://api-cdn-cache.web.app

## Testing

A testing script has been created to show that the responses are cached (specifically 404s) by checking the response headers.
Note that no `Cache Control` header is present in the response.

Our observations show that specifically GET 404 responses are the ones that get cached. To further support this investigation, we can purge the cache with the following request:

```
curl -X PURGE https://api-cdn-cache.web.app/date
```

0 comments on commit 393df6f

Please sign in to comment.