Assume that we are currently typing up a post titled “New post” which will be available at the direct link http://domain.com/new-post. When the post is submitted, the plugin could take the following steps:
1- Issue a GET request for http://domain.com/new-post
2- Purge the cache for http://domain.com/
3- Issue a GET request for http://domain.com/
That way, by the time users see the new post and click on it, the cache will be populated.