All posts in same category should not be purged when one of the posts is updated
ari-gold opened this issue · 5 comments
ari-gold commented
Steps to reproduce
- Create two posts
- Update one of the posts
Expected
Post updated should be purged
Actual
Both posts are purged
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/2016/11/03/post-1 --silent | grep Age
Age: 47
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/2016/11/03/post-2 --silent | grep Age
Age: 33
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/ --silent | grep Age
Age: 51
$ # UPDATE POST 2
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/ --silent | grep Age
Age: 0
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/2016/11/03/post-2 --silent | grep Age
Age: 0
$ curl -I http://dev-pantheon-integrated-cdn.pantheonsite.io/2016/11/03/post-1 --silent | grep Age
Age: 0
danielbachhuber commented
Thanks for the report, @ari-gold. To begin with, I've added explicit assertions of affected URIs which each of our purge events occurs.
danielbachhuber commented
@ari-gold The fix is now on the dev environment.
ari-gold commented
We discovered this still happens when both posts are in the same category, e.g. Uncategorized.
danielbachhuber commented
We discovered this still happens when both posts are in the same category, e.g. Uncategorized.
@ari-gold I've uploaded the latest version to the testing environment, with a fix for this issue.
ari-gold commented
Confirmed fixed. Thanks @danielbachhuber !