WordPress.org

Forums

WP Minify
JavaScript files on archives are not fully minified (2 posts)

  1. NodeCode
    Member
    Posted 1 year ago #

    JavaScript files on archive pages (including the home page) are not fully minified. On pages or posts, however, everything works fine.

    After some testing I found that if I place the script files via the wp_enqueue_script not in the footer but in the header, it also works on archives.

    This problem I could find with all my WordPress installations, so I suspect that this is a bug in WP-Minify. Also, JavaScript files from plugins are affected.

    I hope I could explain the problem to understand. My Website: http://nodecode.de

    https://wordpress.org/plugins/wp-minify/

  2. Kimberly
    Member
    Posted 1 year ago #

    A bunch of us fixed that problem a few years back. We had a big discussion on this and added other fixes to the code (it might still be archived here). This plugin now works fine for us. Not sure why none of us released a forked version of this plugin to resolve problems for others though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Minify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic