Extensions

headConsolidator

    Developed by Stephen Billard (sbillard)

    Collects output of the 'theme_head' filters, parses it into js, css, and other items. CSS or JS files with duplicate base names are reduced to just the first instance. (Paths are ignored.) In-line js is consolidated into one tag.

    This is intended as an example of how one might process the output from the 'theme_head' filters.

    [Note: this processing takes 0.02 seconds on my test system loading the Garland theme with reasonable collection of plugins. So it may not be appropriate to use it from a performance perspective.]


    Download (hosted)

    For questions and comments please use the forum or discuss on the social networks.

    Related items