• NearlyNubile

    (@nearlynubile)


    Hi. I’m loving the auto-minification feature.

    This creates two files: CSS and JS, which come from the w3tc/min/ folder. This is nice, but I’d like two adjustments and would appreciate if someone can point me in the right direction. For this functionality, I don’t mind donating to this excellent plugin:

    1. ORIGIN PULL CDN:
      I’d like the minified and combined CSS/JS files to not come from the default path — mysite.com/wp/wp-content/plugins/w3tc/min/.. — but instead from my origin-pull CDN folder (where that folder on my site has been mapped to a CNAME) that is at cache.mysite.com/... Is this possible? The current CDN functionality simply replaces “mysite.com” with “cache.mysite.com” but the folder path etc remains the same.
    2. PLACE MINIFIED JS IN FOOTER:
      The JS I have can all be safely put in the footer. This helps with site load times, especially now that I have about 10 JS includes overall.

    Thanks for any ideas!

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Frederick Townes

    (@fredericktownes)

    In order to have these options you must (unfortunately) use manual minify mode which requires you to specify files, locations etc and supports CDN.

    Thread Starter NearlyNubile

    (@nearlynubile)

    Hi Frederick

    Very happy to do it manually. But you mean “Manual” mode in W3TC.

    Or you mean I should go to some website, manually edit the CSS code, and then upload it into my CDN folder, and use that path? If this is what you mean, then I understand that minification in W3TC might as well be turned off?

    Thanks!

    Thread Starter NearlyNubile

    (@nearlynubile)

    Frederick,

    I have another idea.

    Is it possible to have W3TC just work with my upload settings? Take the file path in the “media” settings, and use the URL in those settings too.

    THis should be an easy “fix” for you and gives us much more flexibility. Right now, the cached/minified files are saved inside W3TC’s own folder inside Wp-content, and a URL generated from there. This is actually not needed.

    Hope this is an easy tweak and you can share some thoughts of how to do this?

    Thanks!

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    I meant manual minify mode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: W3 Total Cache] Minified content from an origin-pull CDN, and JS in the footer’ is closed to new replies.