Ticket #1089 (accepted enhancement)
Unique asset group names & far future expires headers: easy performance gain
| Reported by: | jeremy | Owned by: | tboutell |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5.2 |
| Component: | apostrophePlugin | Version: | 1.5 |
| Keywords: | Cc: | ||
| Symfony version: | 1.4 |
Description
When aHelper combines asset groups, it generates the group file name solely on the names of the included files. As a result, the group name is not a unique with respects to the content of the individual files. In turn, this prevents setting a far future expires header, a Yahoo! best practice for performance (link).
An easy fix for this is to append the filemtime to the end of the compiled file name, which would make the hash of the group file name unique with respect to content.


