Clear full cache when post/page is updated

I enabled “Clear full cache when post/page is updated” is the Page Caching, but, when I change something on the website, it loads the same page again.

Could it be possible that the plugin wants to change inside the wp-content folder but can’t because this directory doesn’t exist (I changed it to other directory)?

However, in the wp-config, the following constants were added:

define( ‘WP_CONTENT_DIR’, dirname(__FILE__) . ‘/directory/wp-content’ );

define( ‘WP_CONTENT_URL’, ‘https://your-site.com/directory/wp-content’ );