Support » Plugin: SiteGround Optimizer » Cache not purged while saving Gutenberg post

  • Resolved Erik Joling



    When I’m editing a gutenberg post I have to manually purge the cache to view the changes on the frontend.

    Is this problem known to you? Will there be a fix?

Viewing 1 replies (of 1 total)
  • Plugin Support ivanatanasov


    Hello @ejoweb,

    Ivan Atanasov from SiteGround here.

    If you update a post, this action will trigger a hook defined in class-sg-cachepress-supercacher.php that is meant to purge the cache automatically:

    191         add_action( 'save_post', array( $this,'hook_add_post' ) );
    192         add_action( 'edit_post', array( $this,'hook_add_post' ) );

    Additionally, SG Optimizer will skip cached content for users that are logged in the application dashboard. Meaning, if you are logged in your WordPress Dashboard, you should not be presented with cached content.

    Editing a post with Gutenberg should not be an exception. If is possible that this is a result from several caching mechanisms working at the same time.

    I would recommend posting a Support Ticket from your SiteGround User Area so that this can be reproduced.

Viewing 1 replies (of 1 total)
  • The topic ‘Cache not purged while saving Gutenberg post’ is closed to new replies.