W3 Total Cache
Optimize the order of styles and scripts (2 posts)

  1. JustAsking
    Posted 3 years ago #

    I added W3 Total Cache to my site yesterday and have a problem I don't know how to fix. When I test the site on Google PageSpeed, this is one of the messages I get:

    The following external CSS files were included after an external JavaScript file in http://*****.net/. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.

    I had to add 2 lines of code to the header to link to external style sheets: one for a widget that shows the client's reviews, and one to Google Fonts.

    When I view the page source, the W3 Javascript appears immediately after the <head> code. These additional CSS codes are being called after the W3 javascript, which is why I'm getting this error.

    Is there anything I can do to change the way the W3 javascript is called? Or will I just have to live with this?

    I will appreciate any help you can give me!


  2. maustin89
    Posted 2 years ago #

    Wondering the same thing!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic