Minification issues: theme & minify css file both loaded
-
I have set up w3tc on our website. I ran a test through pingdom and noticed that two large css files were being loaded. One was the w3tc minify file and the other was the theme minify file (both files contain the same code).
Steps I’ve taken to try to resolve the problem:
1. I tried turning minification to “manual” and adding the js and css files manually. I successfully selected all the files I wanted to add and saved the settings/purged the cache. Minification did not work at all when I tried this step instead my theme was loading it’s own files (Avada). I checked again to make sure the files were added to the js and css minification sections, once again, and made sure the enable boxes were checked and purged all caches again. Nothing changed. There was no minification at all.2. I use cloudflare and even though I had HTML, css, js minification enabled there, nothing was being minified. I turned those options off in cloudflare purged all caches again and there was still no minification.
3. I turned on debug > minify and purged all caches and refreshed the page and there was nothing added to the page.
4. I turned on auto minification, purged all caches and the files were being minified again.
5. Unchecked “enable” box on CSS minification. However my theme css files are still being double loaded. They are loaded via a style tag in the head and via a link tag before </body>
I need help fixing the double loading instance of the css files and fixing the manual minification issues I am experiencing.
- This topic was modified 3 years, 10 months ago by .
- This topic was modified 3 years, 10 months ago by .
- This topic was modified 3 years, 10 months ago by .
- This topic was modified 3 years, 10 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Minification issues: theme & minify css file both loaded’ is closed to new replies.