Support » Plugin: Autoptimize » Cannot exclude stuff in the wp-content folder

  • Resolved azilvl

    (@azilvl)


    I’m trying to exclude a bunch of css and js files located in “wp-content” but no matter how I put them in the exclude lists it doesn’t work. weirdly enough excluding stuff inside “wp-includes” work just fine.
    here are the screenshots
    as you can see when I exclude the jquery file inside wp-include it works as expected. but when I try to exclude another js file that’s located in “wp-content” the file still gets minified and the number of affected files by Autoptimize remains the same(expected to go down to 27 files). the total size of the affected files decreases tho I don’t see any change in the front-end and the website still has the issue that’s caused by minifying my theme’s js file.
    is this a bug or am I missing something?

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    is this a bug or am I missing something?

    Hmm, the problem is you’re using a metric (amount of cached files) which is not really a good indication. So can you instead check your HTML output (view source in the browser) to see if the file is excluded or not? If you still see inconsistencies, I’ll be happy to look into that, but I would need your site’s URL 🙂

    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot exclude stuff in the wp-content folder’ is closed to new replies.