Title: Exclude inline JS
Last modified: March 23, 2023

---

# Exclude inline JS

 *  [nenesse8](https://wordpress.org/support/users/nenesse8/)
 * (@nenesse8)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-inline-js-3/)
 * Hello
 * Is it possible to exclude inline JS scripts from the cache?
   I have a plugin that
   uses nonces. They expire before the cache is purged.So I would like to exclude
   certain inline scripts from the cache (by script id) so that I can avoid reseting
   the cache too often.
 * Thanks.

The topic ‘Exclude inline JS’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [nenesse8](https://wordpress.org/support/users/nenesse8/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/exclude-inline-js-3/)
 * Status: not resolved