Thread:Project:Support desk/ResourceLoader vs CDN subdomain for css scripts/reply (4)

In fact, when you program for MediaWiki, using the resource loader is a handy option and yes, I also use it myself. I am maintaining a few skins that are technically Vector clones and so they also have their CSS/JS loaded through the resource loader. Having nearly the complete CSS loaded through the resource loader is btw. also what Wikipedia does. I don't know how it's configured at Wikipedia, but I guess that it does not deliver a precached file from the file system. Instead, it invokes PHP and I guess it does a few MySQL queries to get the cached stuff somewhere from an internal DB table. If you have kind of a CDN this should not really hurt, but it will always be faster to only read an existing file than having to invoke PHP, MySQL and to fetch stuff from inside a DB.