How does W3TC enqueue minified JS files?
-
Greetings,
I wrote a plugin that adds a data attribute to script tags for purposes of instructing CloudFlare’s Rocket Loader to ignore certain scripts.
In short, by adding a data attribute, Rocket Loader can be configured to ignore certain scripts.
The problem is that it seems to be ignoring scripts that are combined by W3TC. Is anyone familiar with the technical method it uses to enqueue/inject these newly combined scripts? Is it wp_enqueue_script or something else? They seem to have randomly generated filenames as well. If someone could point to a line in the code that would be helpful.
Thx
- The topic ‘How does W3TC enqueue minified JS files?’ is closed to new replies.