WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: W3 Total Cache] Minifying Javascript from wp-includes (3 posts)

  1. godkid
    Member
    Posted 4 years ago #

    I've found an interesting problem where minifying the Javascript files loaded from the wp-includes folder causes breaks throughout the site. I've tried several combinations of settings and still have not seen it succesful. Anyone else have this problem? Did you solve it? If so how?

    Files is question are:
    /wp-includes/js/prototype.js?ver=1.6
    /wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.0
    /wp-includes/js/scriptaculous/effects.js?ver=1.8.0
    /wp-includes/js/jquery/jquery.js?ver=1.3.2'

  2. godkid
    Member
    Posted 4 years ago #

    I resolved this by:

    1. Adding the files to the minification list, but specifying "Embed in Header"
    2. On the JS Minify Settings -> selected "Combine only (Head)"

    That allowed me to fully minify the other files and embed them in the footer while preserving these troublesome files.

  3. Frederick Townes
    Member
    Posted 4 years ago #

    Well done.

Topic Closed

This topic has been closed to new replies.

About this Topic