Cache invalidation for post update

closes #2833
- Handle status change of post
Merge pull request #2876 from halfdan/2833-rasperize-cache

Cache invalidation for post update