Needs review
Project:
Yahoo YUI
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
14 Oct 2008 at 23:34 UTC
Updated:
15 Oct 2008 at 20:30 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| yui_cachable.patch | 2.36 KB | drewish |
Comments
Comment #1
bakyildiz commentedYour pacth is applied on dev version. Need testing and feedback.