Title: cache exclude contact form
Last modified: February 20, 2025

---

# cache exclude contact form

 *  Resolved [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/)
 * Hi,
 * I would like to exclude my Contact Form only from caching. I believe to exclude
   whole contact page from caching I go to Cache->Excludes->Do not cache URIs->/
   contact/.
 * but, is there a way to target only Contact Form plugin (VS Contact Form) itself
   and not the whole page?
 * thanks,
 * Tibor
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-exclude-contact-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18318180)
 * is this form added by shortcode or something ?
 *  Thread Starter [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18318360)
 * I can add it as a block or the shortcode, both seems to work.
 * CF plugin: [https://wordpress.org/plugins/very-simple-contact-form/](https://wordpress.org/plugins/very-simple-contact-form/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18318419)
 * if it can be added by shortcode , then please try go to Cache -> ESI -> enable
   ESI, then convert the shortcode from `[xxx]` to `[esi xxx ttl="0"]` , see how
   it goes
 *  Thread Starter [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18318847)
 * I added shortcode to container. Enabled ESI and added [esi contact ttl=”0″] to
   ESI Nonces.
 * Is that correct? As well, options Cache Admin Bar and Cache Comment Form is OFF.
   Should I leave it like that? (see screenshot: [https://ibb.co/zWN17sG2](https://ibb.co/zWN17sG2)).
 * How do I check if only form is excluded, or can you see from your side’
 * thanks,
 * T
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18319812)
 * no no , I mean edit the page where you insert this shortcode to your page
 *  Thread Starter [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18320493)
 * am confused, ha. I deleted previous and tried again.
 * 1st – added [contact] shortcode to my contact page container.
 * 2nd – went to Cache -> ESI -> enabled ESI.
 * 3rd – went back to page with original shortcode and changed it to [esi contact
   ttl=”0″]
 * Is that what you meant?:)
 * Now Contact Form does not work (unable to send it).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18321755)
 * yes, that’s what I meant
 * do you see any error message in dev console or something when it unable to send?
 *  Thread Starter [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18321857)
 * checked inspector console, no errors. weird
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18322165)
 * okay , seems ESI is not compatible with this shortcode , unfortunately if this
   method doesn’t work , then no 🙁
 *  Thread Starter [tibor](https://wordpress.org/support/users/t29k75/)
 * (@t29k75)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18322222)
 * ok, thanks anyway.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘cache exclude contact form’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [tibor](https://wordpress.org/support/users/t29k75/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/cache-exclude-contact-form/#post-18322222)
 * Status: resolved