Title: Plugin script &amp; css in exclusions, but problem persists
Last modified: February 11, 2024

---

# Plugin script & css in exclusions, but problem persists

 *  Resolved [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/)
 * Hummingbird is preventing a plugin’s widget from displaying data, despite having
   that plugin’s css and js files excluded in the settings. The plugin uses a shortcode
   which accesses a json file, but I’m getting the error “WPP: Couldn’t read JSON
   data” in the browser console.
 * The error refers to what must be a dynamically created js file, “3643ac675dcc899337cf6ab727d6265b.
   js”. How can I get Hummingbird to exclude such a file?
 * When I use “See this page unminified”, the widget works. Thanks for any help.

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

 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17415639)
 * Update: I found one more js file belonging to the plugin in question, and excluded
   it. It appears to be working now.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17417799)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Thanks for updating us and I’m glad you found solution. I’m sorry for delayed
   response too.
 * Let me just add for future reference:
 * When setting Asset Optimization you can’t exclude entire file like that (with
   those long “hashed” names) – those are indeed dynamically generated by Hummingbird.
   Instead you need to exclude an actual js/css file that is being optimized.
 * To find out what what are those files you have two ways:
    – you can just use “
   See this page unminified” and you’ll have real file names – or you can just open
   such “36ac-whatever….” file directly in browser and at the very top you’ll have
   a line that starts with
 * `/* handles: something, something-else... */`
 * where “something” and “something-else” and so on would be references to the real
   files.
 * For example, you’d see
 * `/* handles: jquery, jquery-migrate */`
 * and you’d know that those are Assets that are inside that ‘3643….” file so you
   need to check those and probably excluding one of those will be solution.
 * I hope this makes some sense 🙂
 * Best regards,
    Adam
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17419650)
 * Okay, I spoke too soon. It’s not working again. This happens every time I resave
   the exclusions list, I guess that flushes the Hummingbird cache and it works 
   for a while, then doesn’t. I’m pretty sure I have the correct file excluded, 
   but it’s still not working. It’s for the plugin WordPress Popular Posts, and 
   the file is wpp.min.js. Here’s what it says in the console:
 * `POST https://www.humortimes.com/wp-json/wordpress-popular-posts/v2/widget?is_single
   =0 403 (Forbidden)
   ajax @ wpp.min.js:4fetchWidget @ wpp.min.js:9(anonymous) @
   wpp.min.js:11
 * However, now suddenly I can’t run Hummingbird at all, as it crashes the site,
   giving a 502 error. I tried flushing all caches, including Hummingbird’s and 
   the browser, but the problem persists. I have to leave it deactivated for now.
   What could be causing this? It was working with my current configuration, no 
   new plugins, etc.
 *  [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17419788)
 * Hey everyone,
 * [@jamminjames](https://wordpress.org/support/users/jamminjames/) I’m not near
   my PC right now but a 403 error means “Forbidden.” Your server refuses to let
   WPP update the views count of your posts/pages.
 * Generally speaking, when a 403 error happens it’s caused by either [page caching rules that are a bit too greedy](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#is-wordpress-popular-posts-compatible-with-caching-plugins)
   or by a [plugin preventing WPP from communicating with the REST API](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#is-wordpress-popular-posts-compatible-with-security--firewall-plugins)
   so that’s something I’d check.
 * Hope that helps!
 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17421534)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Please email us at: [wpsupport@incsub.com](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/wpsupport@incsub.com?output_format=md)
   
   Subject: ATTN: WPMU DEV support – wp.org
 * Please send:
   – Link back to this thread for reference ([https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/))
   so that we could review this case more for you
 * Kind Regards,
   Kris
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17422747)
 * Thanks, [@hcabrera](https://wordpress.org/support/users/hcabrera/), that link
   did help, but not for the reasons you stated. What seemed to help was doing, 
   as they suggested, clearing Hummingbird’s Page Caching.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17424394)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Thanks for updating us!
 * I admit that “403” (so “forbidden”) being caused by Hummingbird’s Page Cache 
   is quite surprising but since clearing it helped for now, let’s see how it goes.
 * Please keep an eye on the issue and if it comes back, let us know and we’ll see
   what to check/test/do next.
 * Kind regards,
    Adam
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17431692)
 * I was wrong, it’s still happening. It’s fine for a while after I clear the Hummingbird
   cache, but then the widget stops working again.
 * I have emailed the address given above about it.
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17447723)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/),
 * Thank you for reaching out to us.
 * We understand that you have disabled the “Clear full cache when post/page is 
   updated” option at **Hummingbird >> Cache >> Page Caching >> Settings**. Consequently,
   the cache remains unchanged when updates are made, which may be the underlying
   issue.
 * Unfortunately, there isn’t a built-in option to exclusively clear the cache on
   the home page. I have reached out to our developers to explore potential workarounds
   for this. We’ll keep you posted on any developments regarding this matter.
 * Kind Regards,
    Nebu John
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17464786)
 * Okay, I’ve enabled that. Now I’m getting some weird cache entries that conflate
   different urls, causing problems. For example, while the Wordfence security plugin
   is scanning, it’s trying to scan files from the cache with urls like:
 * `Scanning contents: wp-content/wphb-cache/cache/www.humortimes.com/1565/harley-
   schwadron/nggallery/about-humor-times/privacy-policy/more/about-humor-times/privacy-
   policy/about-humor-times/terms-of-service/page/378c7099e60f1e1927908e28c0c291aa4.
   html`
 * … but the `about-humor-times` url is completely separate from the `/1565/harley-
   schwadron/nggallery/` url.
 * Also, I’m getting ‘not found’ errors in the browser console for hummingbird files,
   like:
 * `GET https://www.humortimes.com/wp-content/uploads/hummingbird-assets/cd2d148d86ac6a60544788696481d372.
   js net::ERR_ABORTED 404 (Not Found)`
    -  This reply was modified 2 years, 2 months ago by [jamminjames](https://wordpress.org/support/users/jamminjames/).
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17468244)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/),
 * > For example, while the Wordfence security plugin is scanning, it’s trying to
   > scan files from the cache with urls like:
 * What you are listed are static HTML files as part of the page cache feature, 
   it would only mean that they are static cached files and it shouldn’t pose any
   security issues.
 * Could you please please try opening the HTML file and see what exact page does
   it load?
 * It should be loading a static HTML page and would give a better idea of what 
   exact page the HTML is referring to.
 * > Also, I’m getting ‘not found’ errors in the browser console for hummingbird
   > files, like:
 * Do you get the same error if access the page when logged in? or the issue is 
   only when logged out?
 * Could we know whether you have the “**File Change Detection**” option set to “**
   Automatic**” under **Hummingbird > Caching > Settings** ?
 * Looking forward to your response.
 * Kind Regards,
 * Nithin
 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17486809)
 * Hi [@jamminjames](https://wordpress.org/support/users/jamminjames/)
 * We haven’t heard from you in a while, I’ll go and mark this thread as resolved.
   If you have any additional questions or require further help, please let us know!
 * Kind Regards,
   Kris
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17487388)
 * Yes, I unfortunately had to give up on Hummingbird, because of that one widget
   I started the thread about. Even though the js and css in question were excluded
   from minifying and even when I stopped using page cache, and even after flushing
   all caches after each post, that plugin’s widget was still affected, it couldn’t
   display the content. It was definitely something Hummingbird was doing though,
   because when deactivated, it stopped happening.

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

The topic ‘Plugin script & css in exclusions, but problem persists’ is closed to
new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

## Tags

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

 * 13 replies
 * 6 participants
 * Last reply from: [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-script-css-in-exclusions-but-problem-persists/#post-17487388)
 * Status: resolved