To Clear Cache After Update

by admin

If a post or page is updated, the cache of post or page is cleared.

update-post

There is 2 options.

A: Clear All Cache

It clears all the cache

B: Clear Cache of Post / Page

– The cache of post is cleared
– The cache of post categories is cleared
– The cache of post tags is cleared
– The cache of homepage is cleared

It clears the cache of the post which is updated. The cache of homepage is cleared in 3 cases:

Case 1: If the post appears on the Homepage

If a post which appears on homepage is updated, the cache of post is cleared and the cache of homepage is cleared as well.

Case 2: If the post is Sticky Posts

If Sticky Posts are updated, the cache of post is cleared and the cache of homepage is cleared as well.

WP All Posts

Case 3: If the post is Static Front Page

If a static front page is updated, the cache of page is cleared and the cache of homepage is cleared as well.

WP Front Page Displays

Related articles

Placeholder Image
Buffer Callback Filter

You can use the Buffer Callback Filter feature to make any changes to the html source of a page or…

Placeholder Image
Clear Cache After Posting Comment

The cache of the page is cleared automatically after the comment is approved of.

Placeholder Image
Modify Minified CSS by Calling the Function Hook

You can write your own function that will modify the content of minified or combined css sources before saving.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.