Title: Cache busting for javascript widget?
Last modified: April 1, 2021

---

# Cache busting for javascript widget?

 *  Resolved [cliffmama](https://wordpress.org/support/users/cliffmama/)
 * (@cliffmama)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cache-busting-for-javascript-widget/)
 * We have an email subscription form in the footer of every page on our site. (
   The form uses the mailoptin plugin, integrated with My Emma email marketing).
   After submitting the form, the form is replaced with a Thank You message.
 * Since I’ve installed SG Optimizer, I’ve noticed that sometimes the form displays
   the Thank You message instead of the form, even on new sessions when the form
   had not been submitted. But not on every page. Some pages have the form, some
   pages have the Thank you message.
 * Is there a way to exclude particular divs or scripts from being cached? Or some
   cache-busting trick I can do to prevent this form from looking like it’s already
   been submitted?
 * Thanks,
    Jannette

Viewing 1 replies (of 1 total)

 *  Thread Starter [cliffmama](https://wordpress.org/support/users/cliffmama/)
 * (@cliffmama)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cache-busting-for-javascript-widget/#post-14265038)
 * Never mind, we just saw this behavior on a site without SG Optimizer installed,
   it’s likely another issue.

Viewing 1 replies (of 1 total)

The topic ‘Cache busting for javascript widget?’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [cache busting](https://wordpress.org/support/topic-tag/cache-busting/)

 * 1 reply
 * 1 participant
 * Last reply from: [cliffmama](https://wordpress.org/support/users/cliffmama/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/cache-busting-for-javascript-widget/#post-14265038)
 * Status: resolved