Support » Plugin: WP Fastest Cache » Timeout Rule by class or ID

  • Could you please consider adding a Timeout Rules option by class or ID?

    Reason: you need to set a 10 hour timeout rule to pages with a contact form, otherwise their nonce becomes invalid and they stop working.

    Currently, if a site has a contact form on multiple pages, you either need to
    1) set a timeout rule for every page (easy to forget when you create new pages)
    2) set a rule to clear all cache (you don’t want that on large sites).

    A timeout rule by class or id will make this much easier. For example, Caldera forms start with this code:

    <div class=”caldera-grid” id=”caldera_form_1″ data-cf-ver=”1.9.3″ data-cf-form-id=”CF5accc2d76bb58″>

    And Contact Form 7 forms start with this code:

    <div role=”form” class=”wpcf7″ id=”wpcf7-f13-p2-o1″ dir=”ltr”>

    So if it would be possible to set a timeout rule by class you can create a rule based on class=”caldera-grid” or class=”wpcf7″ and it will always work no matter where you add a form.


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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.