Hi @partakaw,
I just checked this and could not replicate this issue. Here’s what I’ve done:
In the root of the website (where wp-config.php
file is present) I’ve added a file named .maintenance
and inside that file added this code:
<?php
$upgrading = time();
?>
This helps the website to show the WordPress Maintenance mode. But in this mode, I do not see any Cache-Control
in the response header and also the Cloudflare cache status is DYNAMIC which means the page is not being cached. Screenshot: https://i.imgur.com/jITDdyy.jpeg
So, I would suggest you to share your maintenance page URL so that I can look into it.