PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Limit Number of Entries Question: Does caching matter?

  1. jhayes4
    Member

    I just ran a form and set the "Limit Number of entries" to be 150.

    But when i checked this morning, the form had accepted 219 entries before displaying the "entry limit reached" message.

    Is this miscounting anything that other people have experienced and is there a way to have the form correctly limit the number of entries?

    I have WP Super Cache turned on.. that's the only thing i can think of that might have affected the page, but not sure if that matters.

    Any thoughts?

    Thanks

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  2. Yes, depending on how you have your caching configured. The entry limit decides if it should show the form or not. The problem is that isn't being handled by Gravity Forms at that point depending on how you are caching. Your cache is returning a cached version of the form and the shortcode or function call isn't actually executing so the entry limit or entry date range is never checked.

    We recommend using W3 Total Cache, which has more options and control over what is cached and can omit Gravity Forms queries from caching.

    Anytime you have caching with functionality that requires current data to function properly you can run into issues.

    We can look into how to include this check when a form is submitted also, but it was designed to not display the form at all so the user doesn't even have a chance to fill it out.

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  3. jhayes4
    Member

    Thanks Carl,

    If the possibility exists to run a check when the form is submitted, that sounds like it would be an elegant solution to the problem regardless of caching issues.

    I've heard good things about W3 Total Cache and will give it a try.

    Really appreciate GF and all the hard work you guys do!

    Posted 13 years ago on Thursday February 24, 2011 | Permalink