Question about Slim-HttpCache

I just discovered https://github.com/slimphp/Slim-HttpCache/tree/master/src

My question is this: if you cache a page but then discover that you need to make a change on it, is there a way to ‘uncache’ it (even if this means ‘uncaching’ ALL cached pages)?

Thanks.

What about setting a different etag?

I guess that would work, but that requires me to somehow manage etags.

Also, the example code on https://github.com/slimphp/Slim-HttpCache could use a bit of love, because from what’s there, it’s not quite clear to me how to use this caching mechanism in conjunction with the code which generates output (a call to a Twig template, for example).

Thanks.

Do the docs give you a better view?

http://www.slimframework.com/docs/features/caching.html

Yes, thank you. I guess I didn’t think this through the first time I looked at it.