I wonder if there is possibility to generate WP-Super-Cache programmatically after the cache is being purged ( after I have published a new post ). I thought of writing some kind of crawler that will go trough all of my pages and generate new cache that way. But I wonder if there is another possibility?
P.S. I set up a setting that my cache is being purged after I published a new post, but what I need is that not all of my cache to be deleted, after I publish a new post, but only one for archives and categories ( because those are dynamic pages ) , so if there is an opportunity to somehow select what cache will be purged, there is no need to regenerate all of the cache, as I asked in the question. Hope I made it clear. Thanks.