How can i manually invalidate cache?
-
Hello. I`m using WP with external php script, that puts posts directly into DB, using giving ID (posts parsed from another site, and id of this post represent unique id of the post, so i can see if i already parsed that post). How can i manually delete cache file for the home, archives, categories after creating each new record in database?
Ive try to use wp_update_post with giving id, but this function not updating, it create
s new database record with new id.
Currently i`ve simply delete all hypercache cache files after puting new post in database, but it weir path, and i want to delete cache of only changed pages = home, archive, categories.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How can i manually invalidate cache?’ is closed to new replies.