Posted by sinasalek on May 13, 2008 at 7:26am
Jump to:
| Project: | BundleCache |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
Hi,
Is it possible to have different bundles for different pages?. for example front page my need bigger bundle and internal pages like content full page may need only a small bundle.
Regards
Comments
#1
Currently, one file can only be in one bundle. That is (at the moment) a deliberate restriction. The intended way for your case is:
E.g., you would have one “Common” bundle that contains the layout/design CSS as well as commonly used page elements. On the other pages, you would include the bundle specific to that site. In the end, you would end up with 2 CSS files on the page which is still acceptable in terms of HTTP requests.
#2
Thanks for the explanation. it's working well now. I'm going to replace JavaScript aggregation module and drupal built in css compressor with your module :))
PS : That would be nice to see this feature in the next release, guess you have a long to-do list yourself :)
#3
Postponing this feature. That doesn't mean that it will never happen, it's just unlikely to happen in the near future since that feature is not really how sf_cache should be used.
#4
Moving to the Bundlecache issue queue, as per #962178: Rename/migrate to Bundlecache and provide a stable D6 release..