• I updated my home page earlier, including the gravity form, and now that it’s published (which seemed to work fine) I note that the page is not updating on my phone or other computers. HOWEVER, when I complete the form (on either the phone or other computer) all of the updates instantly click in. I don’t have any cache plugins, all plugins I do have I’ve made sure are up to date, I’ve purged the cache through Cloudflare. Help..

    • This topic was modified 4 years, 4 months ago by stapleton911. Reason: Fixes already tried

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • This is a combination of cache and wp-cron.

    wp-cron is a workaround that approximates control of future program execution in WordPress. When someone visits the site, WordPress will first serve the request. But before the process is completely finished, WordPress will trigger wp-cron to check if anything pre-programmed also needs to be done (like checking for updates or publishing anything pending).
    This means that on a site that doesn’t get much visitors, checks for updates may happen a bit less often. However, most servers that are reachable from internet do get regular visits from various bots, for instance, so usually wp-cron will work decently well.

    But: Your site is “hidden” behind Cloudflare. I.e. most visits to your site never reach through to the webserver, i.e. until a visitor does something that needs to be communicated “home”, like posting a form.

    Possible workarounds:
    Check with your hosting provider if they can offer you any real linux/unix cron control. But you might still have a situation where something is updated on your server, but Cloudflare continues to respond with a cached version, so you should check with them, too.

    There are services on the internet that can be set to visit a particular URL every n minutes. If you create a URL that will reach through, either as an exempted URL or using some kind of cache-busting, then you may be able to change the post status in right time. (But still: How will Cloudflare learn that your content has changed?)

Viewing 1 replies (of 1 total)
  • The topic ‘Updated publish only kicks in after form completed’ is closed to new replies.