Download & Extend

Use CSS and JS aggregation for local copies of YUI library

Project:Yahoo YUI
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:bakyildiz
Status:needs review

Issue Summary

I was trying to figure out why my site started crawling after enabling the YUI Editor. The short version was that I hadn't specified a list of paths where the editor is used so all the CSS and JS was being included on every page in a way that bypassed the CSS and JS aggregation features. I can understand sending separate files when they're not hosted locally but it's totally crazy if they're on the same site.

Attached is a minimal patch to enable aggregation of the CSS and JS files.

AttachmentSize
yui_cachable.patch2.36 KB

Comments

#1

Assigned to:Anonymous» bakyildiz

Your pacth is applied on dev version. Need testing and feedback.