Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a D 8.1.8 site and I installed AA; Did the regular profiling I did in D7 but saw no option to inline the css.
If it was removed, can you please explain why and what is a decent simple alternative just for the inlining part of course?
Thanks,
Comments
Comment #2
Benia CreditAttribution: Benia commentedComment #3
Benia CreditAttribution: Benia commentedComment #4
NickDickinsonWildeInline css/js was removed in Drupal core for 8.x - https://www.drupal.org/node/2382533
I'm not sure of any current modules recreating that functionality.
Comment #5
Benia CreditAttribution: Benia commentedWhy was it removed?... I think it's a great feature and one of the last hoped for many people storing on shared servers...
Comment #6
NickDickinsonWildeI'm not 100% sure - I mean I know some but after the fact reading only; that was a core decision and I don't fully remember all the reasons.
Comment #7
NickDickinsonWildeComment #8
mikeytown2 CreditAttribution: mikeytown2 commentedChange happened in this issue #2382533: Attach assets only via the asset library system
Main reason they got rid of it in core is it was causing issues; I objected to this but it looks like I wasn't heard. Inlining critical css will require this, so this will need to happen sometime in the future... we can wait on this.
Comment #9
NickDickinsonWildeThis will actually be fairly easy to do in 8.x-3.x.
It'll probably go in 8.x-3.1
Comment #10
rviner CreditAttribution: rviner commentedWas just wondering if there's still a plan to add this back in soon?
Comment #11
NickDickinsonWildeYes, there is. Soon is nebulous since I haven't expressly scheduled it but I think it's actually now very soon that I'll get to it.
Comment #12
FiNeX CreditAttribution: FiNeX as a volunteer commentedHi, did you see the "Critical CSS" module (https://www.drupal.org/project/critical_css)? It looks interesting.