You can also try the below methods Puppeteer: For crawling and simulating page rendering in headless browsers.Webpack Plugins: Webpack plugins can be configured to generate critical CSS as part of your build process.Store Critical CSS in AEM:Once generated, the critical CSS can be uploaded to the DA...