Support » Plugin: Better WordPress Minify » How to minify in subdomain

  • Resolved LESIMOON

    (@lesimoon)


    Hey,

    I’m using a cookie free subdomain for my wp-content directory (mysite.com/wp-content -> static.mysite.com).
    How can I minify all the file in this static.mysite.com directory?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • biswajeet

    (@biswajeet)

    This feature is not currently available as a direct setting option as far I know. Hope to see this in the feature version.

    But in anyway we can implement it if we have some exposure in wp plugin development subject topic following the steps –

    1. Changing the location of cache directory
    2. Map static.mysite.com -> cache directory
    3. Using the plugin filter to replace url part
    
    • This reply was modified 3 years ago by biswajeet.
    Plugin Author Khang Minh

    (@oddoneout)

    You can actually use the CDN feature to accomplish this. Just make sure that the cookie free domain can serve minified contents from your cache directory correctly, and you are good to go.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to minify in subdomain’ is closed to new replies.