Title: Enqueue CSS and JS
Last modified: May 14, 2020

---

# Enqueue CSS and JS

 *  Resolved [uDAY](https://wordpress.org/support/users/udayborate/)
 * (@udayborate)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/)
 * 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](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12832265)
 * Hello [@udayborate](https://wordpress.org/support/users/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](http://something.stackpathcdn.com/images/logos/big.jpg).
   Thank you!
 *  Thread Starter [uDAY](https://wordpress.org/support/users/udayborate/)
 * (@udayborate)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12903433)
 * Thanks and sorry for delay
 * I am using some premium plugins for cdn setup (WP Offload Media and [Assets Pull Addon](https://deliciousbrains.com/wp-offload-media/#addons))
 * Can you help me solve a problem
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12903674)
 * Hello [@udayborate](https://wordpress.org/support/users/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](https://wordpress.org/support/users/udayborate/)
 * (@udayborate)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12903718)
 * Hello [@vmarko](https://wordpress.org/support/users/vmarko/),
 * I just want to know how do i enqueue minify css file that are generated from 
   W3 Total Cache
    -  This reply was modified 6 years ago by [uDAY](https://wordpress.org/support/users/udayborate/).
    -  This reply was modified 6 years ago by [uDAY](https://wordpress.org/support/users/udayborate/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12903975)
 * Hello [@udayborate](https://wordpress.org/support/users/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](http://something.somecdn.com/wp-content/cache/minify/ef833.js)
   instead of [http://yourdomain.com/wp-content/cache/minify/ef833.js](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.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [enqueue](https://wordpress.org/support/topic-tag/enqueue/)

 * 5 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/enqueue-css-and-js-3/#post-12903975)
 * Status: resolved