Postponed
Project:
BundleCache
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 May 2008 at 07:26 UTC
Updated:
5 Nov 2010 at 07:28 UTC
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
Comment #1
kkaefer commentedCurrently, 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.
Comment #2
sinasalek commentedThanks 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 :)
Comment #3
kkaefer commentedPostponing 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.
Comment #4
wim leersMoving to the Bundlecache issue queue, as per #962178: Rename/migrate to Bundlecache and provide a stable D6 release..