WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
cannot select "Host minified CSS and JS files" (16 posts)

  1. John Robertson
    Member
    Posted 3 years ago #

    Is there any reason I cant select this option? Its grayed out for me under the CDN options.

  2. xhtmlvalid
    Member
    Posted 3 years ago #

    Have you enabled CDN in the General options?

  3. John Robertson
    Member
    Posted 3 years ago #

    Yep ...

    What's also happening is that I want to combine the CSS into one file and minify it. Under non minified circumstances, the CDN sees the files and CDNs all the static content (e.g. background images and so on) but when I minify and combine into one file, it does not get uploaded to the CDN. While most images from posts and so on are uploaded, the stylesheets and background images don't get uploaded.

  4. xhtmlvalid
    Member
    Posted 3 years ago #

    Just yesterday I did change to self-hosted "CDN" and all worked fine.

    Until today, because I added another JS and that needs to get minified and combined, too.

    After deploying the site is referencing to a file that does not exist on my ftp server....

    Very strange.

    Which CDN are you using?

  5. John Robertson
    Member
    Posted 3 years ago #

    MaxCDN

  6. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    MaxCDN is an origin pull CDN. So if you don't see some files being served by the CDN, you may need to add custom paths to the field of the same name on the CDN settings tab.

  7. John Robertson
    Member
    Posted 3 years ago #

    oh ok not a problem.

  8. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    So you're all set?

  9. John Robertson
    Member
    Posted 3 years ago #

    Well it doesnt work but we discussed this in the email, once again cause NGINX was still not supported. Ill wait for v1 of your plugin

  10. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Ok.

  11. xhtmlvalid
    Member
    Posted 3 years ago #

  12. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Ok... Please don't cross post, it doesn't help other members.

  13. Green
    Member
    Posted 3 years ago #

    Hey Frederick,

    I have a question along the same lines but a little different. I have everything working ok on my server side. The CDN box is greyed out but all of my CSS and JS seem to be loading from the CDN fine.

    My issue is that unlike before I had the CDN, my selected javascript in the minify section isn't loading in the footer and the CSS from the header from my CDN. I have selected all JS I want minified as:: non-blocking_Embed before </body>.

    Is that the correct setting? Should I be inputting the JS link address from my CDN into the minify settings or would that be redundant?

    Thanks for putting up with the noob q's :)

  14. Green
    Member
    Posted 3 years ago #

    What I meant to ask was::

    should I be inputting the JS link address from my CDN into the minify settings in addition to the site-side JS or would that be redundant?

    Any help I can get from Frederick or anyone else would be awesome :)

    Thanks in advance for your time.

  15. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    @Green, I don't know if that's the correct setting without checking out your site, but it should be ok if your dependencies are correct.

  16. the_lar
    Member
    Posted 2 years ago #

    Hi,

    I also have the option to 'Host minified CSS and JS files' disabled on my installation of W3 Total Cache. I'm using Amazon S3 as my CDN. The issue I'm having is that the load time of the site has gone up massively when I first visit a particular page - it takes 11 seconds to load the minified js which is around 46K, this can't be right can it? It's OK when I come back to the same page on the same browser but if I hit it with a different browser, it generates a new minified js file and takes ages again.

    Cheers for any assistance!
    Kev

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic