SELF-CHECKS · · 3 min read

Your contact form may work 1 or 2 days a week. Here is a 2-minute test

On a small e-commerce site we maintain, the order form worked one or two days out of seven, for months, and nobody noticed. The page looked normal. Every visitor who pressed send after day two got an error, and the owner simply saw fewer orders.

Why a form can break without anyone touching it

Most WordPress forms carry a small security token called a nonce. It proves the form came from your site and not from a bot. The catch is that it expires: WordPress documents that a nonce lives for one day, and in practice anywhere between 12 and 24 hours.

Now add a page cache, which nearly every fast site uses. The cache saves a copy of the page, token included, and serves that copy to every visitor until the cache is cleared. If the cache keeps the page longer than a day, visitors get a form with a token that is already dead.

The form still looks perfect. The button still works. The server just rejects the submission, often with a 403 error the visitor never understands. Clear the cache and the form works again for a day, which is why the problem looks random.

What it cost the site we found it on

Nobody saw an alert, because nothing crashed. From the owner's side, a failing form looks exactly like a slow week: fewer requests, no errors in the inbox, no complaints from visitors who simply gave up and left.

We only found it by sending the form ourselves on a day the cache was old. We do not know how many orders were lost over those months, and we will not guess. What we know is the pattern: working one or two days, failing the rest.

The 2-minute test you can run today

You do not need a developer for the first check. You need a phone and an address you can read.

  • Open your site in a private browser window, so you are not logged in. Logged-in owners often bypass the cache and never see the bug.
  • Fill in your own contact or order form with a test name and send it.
  • Check that the message arrived where it should: email, CRM, Telegram, wherever your leads go.
  • Repeat the same test two and four days after your last cache clear or site update. A form that only fails on old cache days is the classic sign.
  • Do it once on your phone as well, since mobile visitors often get a separately cached copy of the page.

If the test fails: three fixes, from quick to permanent

Quick: set the page cache lifetime under the token lifetime, for example 10 hours, on the pages that hold a form. It costs some speed on those pages, not on the whole site.

Better: exclude the form token from the cache. With LiteSpeed Cache this is a built-in option, and their documentation shows how to serve a fresh token inside an otherwise cached page.

Permanent: add a monitor that submits a test form every day and alerts you when it fails. A form is the one part of a site where silence is the failure, so it deserves its own alarm.

Three more places where leads go missing quietly

The same pattern, a page that looks fine while data goes nowhere, shows up in other places. A quote calculator that stops passing one field, such as quantity, into the request. A thank-you page that loads while the email notification is stuck in a spam folder. A conversion tag that stopped firing after a theme update, so ads optimise against zero.

Each one takes minutes to test and months to notice. If you want a second pair of eyes on yours, our WordPress engineering work starts with exactly this kind of check.

Sources

  1. Nonces · WordPress Developer Resources
  2. LSCache for WordPress API: convert custom nonce to ESI · LiteSpeed Technologies

Want this working in your stack, not just in a demo?

We are two senior engineers who build wordpress engineering with a fixed price per written scope.

Keep reading.