Hi there,
I might be worth testing it with all other plugins disabled – leaving just maintenance mode and see if that works. Let me know if you have still problems. It just might be some plugin incompatibility.
If it’s different plugin that is causing an issue – if you give me some feedback I’ll be happy to look in to it – to make plugin compatible.
Caching side of your problem might be either a different plugin that caching your site, possibly server? This I’m quite sure is not MM plugin issue.
Thanks,
Lukas
I’m not using caching plugins or others right now. only MM and qt for testing.
But I use cache headers in .htaccess
<IfModule mod_expires.c>
ExpiresActive On
…
I will try to figure it out by my self, but for now, setting nocache_headers() right before wp_die() (in maintenance() function) seems to resolve issue.
Update: it doesnt work. will look forward..
I see, how about
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
Unfortunately, but no.
I wrote to qt developers. Maybe they have some ideas.
The problem not just on seeing content on site root before refreshing page, but in huge amoung of ajax function, that users can launch from my site root. So resolving this is quite important.
Cool, let me know how that goes,
If I’ll have a chance in upcoming days, I’ll try to set this up on my localhost and try a few things also.
Keep in mind, that this issue didn’t appear on localhost, but is on real host.
Hey there,
Thank you for this,
I have added this on github – I cannot say when this will be implemented but it’s in the pipeline.
https://github.com/lukasjuhas/lj-maintenance-mode/issues/22
Thanks, I’ll be closing this for now.
Lukas