• Resolved dieter93

    (@dieter93)


    Hello,

    I am using a litespeed web server with the litespeed cache plugin.
    The plugin does not optimize CSS or javascript for me, but only manages the http server cache.

    After about 24 hours Happyforms does not work anymore. After submitting everything is grayed out.
    If I clear the cache, then it works again.

    Does Happyforms use one or more nonce? If yes, could you tell me the name of the nonce(s)?

    Litespeed cache has a feature (ESI) that special nonces are not cached for so long. So maybe type your nonces in would be solve the problem.

    Does Happy Forms generally work with cache plugins that keep the cache warm for more than 24 hours? I don’t want to clear the cache every day and also the page with the form should be cached best.

    It would be great if there would be a solution for this. I like Happyforms very much because it is very lightweight.

    Best regards

    • This topic was modified 3 years, 8 months ago by dieter93.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there, @dieter93 ??

    Super-sorry about this! Most caching plugins don’t play well with Happyforms (and other form plugins too, to be honest). At the moment, the best option is to exclude your pages with form from being cached.

    Yes, Happyforms uses nonce, but we’re not completely sure if the ESI feature would help. The nonce name is happyforms_message_nonce. Please give it a try!

    By the way, you can set LiteSpeed cache to purge cache for you automatically. Just hop over to LiteSpeed Cache → Cache → TTL tab and set Default Public Cache TTL to 24 hours.

    I hope this helps! And let us know how that goes.

    Thread Starter dieter93

    (@dieter93)

    Hi Ray,

    thank you for the answer! I tried the nonce but it does not work.

    Then I guess I have no choice to exclude this page from caching or see if I can get the cache of this single page cleared every 20 hours.

    Do you plan to make Happyform cache compatible?

    Thanks again for the answer.

    Best regards

    Anonymous User 18525946

    (@anonymized-18525946)

    Excluding the page is the best bet for now, @dieter93. Sorry!

    And yep, we’re looking at ways to make Happyforms play nicely with cache. But it’s a tricky problem — so far no form plugin has really managed to pull it off well.

    Fingers crossed we can sort something out over the coming months.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Form not work after 24 h cache time – Litespeed’ is closed to new replies.