• If the option cache rebuild is checked, any POST request (this is most problematic because it includes wp-cron.php requests!) to any wordpress page/post will delete cached version of front page.

    Workaround until bug is fixed:
    Unchecking option cache rebuild.

    Proposed bugfix:
    Adding following code on line 58 of wp-cache-phase2.php:

    if ( $_SERVER["REQUEST_METHOD"] == 'POST' ) {
    		wp_cache_debug( 'Supercache caching disabled. Only using wp-cache. POST request. ' . json_encode( $_POST ), 5 );
    		$super_cache_enabled = false;
    	}

    https://ww.wp.xz.cn/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • While I do not know if this is caused by the same issue (likely) but at the moment it does look like cache rebuild option makes the front page regenerate every time you visit the front page. Unticking cache rebuild makes it work like it should.

Viewing 1 replies (of 1 total)

The topic ‘BUGREPORT: POST requests delete cached front page’ is closed to new replies.