Home Forums WoodMart support forum JS/CSS Minification Conflict? WoodMart + LiteSpeed/WP Rocket

JS/CSS Minification Conflict? WoodMart + LiteSpeed/WP Rocket

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #674374

    lost.hinata
    Participant

    Dear WoodMart Support Team,

    I hope this email finds you well.

    I am writing to seek clarification regarding the recommended approach for JavaScript and CSS minification when using your WoodMart theme, especially in conjunction with caching plugins like LiteSpeed Cache or WP Rocket.

    My primary question is whether it is safe and recommended to enable JavaScript and CSS minification within LiteSpeed Cache or WP Rocket. I am concerned about potential conflicts, as I understand that WoodMart might already perform some level of minification internally via its Performance tab settings.

    Could you please clarify if WoodMart’s built-in performance optimizations already handle JS/CSS minification? If so, enabling it simultaneously in LiteSpeed Cache or WP Rocket could potentially lead to conflicts, rendering issues, or even a decrease in performance.

    If there is official documentation that specifically addresses this integration or clarifies your theme’s minification process and its compatibility with third-party caching plugins, I would be grateful if you could point me to it.

    Thank you for your time and assistance in clarifying this important point. This information will be crucial for me to optimize my website effectively.

    Kind regards,

    #674456

    Luke Nielsen
    Keymaster

    Hello,

    Yes, by default, all our files have JS/CSS minification. You can enable minification in the cache plugin if you have some 3rd party plugins that don’t have minified files, so in this case, it’s a great solution. But if you use plugins well optimized (which have JS/CSS minification), you can avoid enabling that option. E.g., on our demo, the minify options are disabled.

    Also, if you enable minify JS/CSS, it should not cause any issues.

    Sorry, we do not have such documentation.

    Let me know if I missed something.

    Kind Regards

    #674469

    lost.hinata
    Participant

    Merci d’avoir confirmé que par défaut, votre logiciel woodmart minify son propre javascript et son propre CSS. Merci, c’est intéressant.

    Pouvez vous clarifier cette question s’il vous plaît, j’utilise lightpeed cache sur un serveur lightspeedcash chez hostinger Et comme W perroquette, ils permettent aussi de cocher magnification et minification du javascript et du CSS. Me conseillez vous aussi de l’activer

    OK pour aller encore plus vite avec votre thème, vous avez un onglet performance. Est-ce qu’il y a des choses à cocher où je ne touche rien ?

    #674489

    Luke Nielsen
    Keymaster

    Hello,

    If there are the same minification options, so I think you can just enable them in the cache plugin.

    In the performance tab, I suggest you enable:

    Font-display: https://take.ms/cnxZh
    Our Lazy loading – https://take.ms/3ViWg

    If you do not use Gutenberg, disable its styles – https://take.ms/gQRfg

    Convert large CSS files to inline styles – gets the base.css file and makes it inline, this is for performance. https://take.ms/f9KUXq

    For the JS I suggest enabling this https://take.ms/xCLBs option.

    Remove jQuery Migrate – by default, I do not suggest disabling it: https://take.ms/gWuxO (jQuery Migrate is a JavaScript library developed by the jQuery team that helps developers transition from older versions of jQuery to newer ones. Its main purpose is to restore deprecated features and log warnings for outdated or removed functionalities.)

    Advanced script controls – shows/hides all scripts configuration. We don’t recommend you enable/disable any scripts if you are not sure how they work. https://take.ms/IMaeF

    Mobile DOM optimization (experimental) – improves performance, but it requires a separate cache for mobile devices, such option available in a plugin like WP Rocket. https://take.ms/cAcRZ

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)