tarekziade/appsync — comment on commit cc2b9cd41cbd87e86b1147bb16594b78d55cbc42
File:  line 0
By tarekziade:

> can you link the tests in the comment thread....

The tests are in the /tests directory if you want to read them

> 1) to see a test that verifies we don't hit the db with the request.
> (artificially changing the db without updating the cache)

good idea, we could count the number of DB hits with / without the cache activated and compare them. That'd be useful for optimizations

> 2) to see a test that verifies when we push data, the previous cache is invalidated

This is already covered in the tests since it exercises making sure the apps are updated with a call that uses "since"