• Resolved Mirko

    (@mirkodii)


    Hi team,

    we have the most recent plugin version installed and the following settings applied:

    • Minify mode: Manual
    • JS minify engine settings: Minify
    • CSS minify method: Minfy only

    Despite these settings all JS and all CSS code goes into one merged file, which breaks the site:
    /cache/minify/6ecd1.default.include.cf57fc.js?x27617
    /wp-content/cache/minify/6ecd1.default.include.7e115e.css?x27617

    Is it a bug or do I get sth. wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mirkodii

    Thank you for reaching out and I am happy to help!
    Can you please sahre the website URL, and also let me know if you added all the files manually to minify instead of adding only the files you need to minify when using Manual Minify mode?
    Can you please also share the screenshot of the Performance>Minify section?

    Thanks!

    Thread Starter Mirko

    (@mirkodii)

    Hi Marko,

    thanks for your reply.

    Please find the URL in the screenshot provided.

    I added just a selection of URLs (e.g. no min.css, no external ones, etc.).

    Here you can find the screenshot:
    https://drive.google.com/file/d/1FffiIs8wzAJ4MSYkAIN3HYbKRmyWjBac/view?usp=sharing

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mirkodii

    I do not see any issues with this.
    This is what manual Minify does. It creates the file that combines and minifies all the files added to the minify.

    Can you please sahre what is the exact issue and what are yoru expectations?

    Thanks!

    Thread Starter Mirko

    (@mirkodii)

    Hi Marko,

    maybe there is a misconception on my side.

    Lets clarify and lets focus on CSS: Under “Minify Method” I can chosse between Minfiy only, Minify and Combine and Combine only. I chose Minify only. Then under “CSS file management” in my understanding I choose all files the minification shall applied to. I chose 4 different css files.

    So I still wonder why it combines these files even Minify only is selected. Where is the difference then to Minify and Combine?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mirkodii

    Thank you for your feedback.
    This is a normal behavior. Depending ot the Minify method, the files are still merged to a single file when using manual minify, however, the compression is not the same.
    If you add 4 files, those files will be merged into a single file that is minified, combined or both. The other choice is to create a separate file for each specific file that is added to minify, so you are not reducing the number of files in this case.
    I hope this clarifies the behavior of Manual Minify option

    Thanks!

    Thread Starter Mirko

    (@mirkodii)

    Hi Marko,

    thanks for your explanation.

    Pls excuse, but I still struglle with the difference of “Minify only” and “Combine & Minify”.
    Just checked your help doc https://www.boldgrid.com/support/w3-total-cache/minify-cache/ but this does not make it clear for me. Pls. explain.

    And please let me know how I can achieve exactly this behaviour: “The other choice is to create a separate file for each specific file that is added to minify, so you are not reducing the number of files in this case.”

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mirkodii

    Thank you for your feedback.

    When I stated:

    The other choice is to create a separate file for each specific file

    I did not mean that you have that as a choice in the W3 Total Cache, I was just stating that that is what your expectations are which W3 Total Cache does not provide. So W3 Total Cache does not create the same files in the cache folder and replace the originals with the minified files.

    Please let me know what you are strugling to understand in the article so I can try to clarify this for you as I am not sure how to be more clear.
    You can try different approaches and check the file itself to see how it behaves.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.