• Resolved uDAY

    (@udayborate)


    How to enqueue this CSS and JS file

    I am replacing all enqueued plugins and themes url with my cdn url

    /wp-content/cache/minify/2b2cc.css
    /wp-content/cache/minify/defbc.css
    /wp-content/cache/minify/ef833.js

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @udayborate

    Thank you for your inquiry and I am happy to assist you with this.
    This is being done automatically once those files are uploaded to the CDN. Once the files are uploaded to CDN they will be served from CDN and the URL will be replaced with CDN URL
    For example Stackpath:
    The location of files on the CDN will mirror the location of static content on the origin server, so you do not have to edit the path. For instance, if there is a file on the origin located at yourdomain.com/images/logos/big.jpg, its location on our CDN would be http://something.stackpathcdn.com/images/logos/big.jpg.
    Thank you!

    Thread Starter uDAY

    (@udayborate)

    Thanks and sorry for delay

    I am using some premium plugins for cdn setup (WP Offload Media and Assets Pull Addon)

    Can you help me solve a problem

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @udayborate

    As you are not using W3 Total Cache CDN functionality you should reach out to the mentioned plugins support for more assistance.
    Thank you!

    Thread Starter uDAY

    (@udayborate)

    Hello @vmarko,

    I just want to know how do i enqueue minify css file that are generated from W3 Total Cache

    • This reply was modified 5 years, 12 months ago by uDAY.
    • This reply was modified 5 years, 12 months ago by uDAY.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @udayborate

    I understand that.
    When using W3 Total Cache CDN functionality, all static files including minify CSS files are being automatically uploaded to CDN. That means that the files are being served from the CDN:
    E.G.:
    http://something.somecdn.com/wp-content/cache/minify/ef833.js
    instead of
    http://yourdomain.com/wp-content/cache/minify/ef833.js
    As you are not using W3TC CDN and using the mentioned plugins instead (and I am not familiar with those plugins functionality) You should contact their support for assistance with this.
    I am sorry I could not be of more assistance but this is not related to W3 Total Cache but to the plugins, you are using.
    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Enqueue CSS and JS’ is closed to new replies.