I have a setup with Varnish. Varnish decides when to clear the cache for a page according to the PHP headers. I want to force Varnish to regenerate the cache for each node every time it gets updated by an user. I am looking for the best place to do this. Ideally it would be in a Drupal/pressflow hook (if there is any available) implemented in a custom module.
- What HTTP caching directives Pressflow sets?
- In what function, file and line number?
Answers that don't address those two bullet points will be appreciated, but not accepted.