Closed (fixed)
Project:
Aggregation JS CSS async defer
Version:
1.1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Oct 2024 at 00:24 UTC
Updated:
24 Nov 2026 at 18:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
_renify_ commentedComment #3
aaronsansal commentedThanks for the patch! This is fixed in 1.1.0 (commit 964cbc4).
Instead of an alter of the whole asset options, there is a new
hook_agg_jscss_asyncdefer_strategy_alter(string &$strategy, array $context)that lets you change the strategy (none/async/defer for JS, none/preload for CSS) per library or file. Seeagg_jscss_asyncdefer.api.php.For the admin conflict in particular, 1.1.0 also disables async/defer on the administration theme by default.
Comment #5
aaronsansal commented