Use CSS and JS aggregation for local copies of YUI library
drewish - October 14, 2008 - 23:34
| Project: | Yahoo YUI |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | drupalhizmetleri |
| Status: | needs review |
Jump to:
Description
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.
| Attachment | Size |
|---|---|
| yui_cachable.patch | 2.36 KB |

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