Menu

Advantage of moving to HTTP/2 for content delivery

Performance or load time of the content that you are serving to your users matters too much. That's why many organizations are following many approaches to deliver the content faster to their users. Performance improvement varies widely based on factors such as your website’s code, network, Media files, the consumer’s device, screen and location, protocol and so on.

HTTP/2 is the advance version of HTTP protocol that helps website owner to deliver the content faster to users in compare to HTTP/1. 

The following Akamai demonstration illustrates the difference between HTTP/1 versus HTTP/2 loading of a media file: 

You could also read our previous article "how to enable HTTP2" where we have written the detail to enable HTTP2 on content delivery network(CDN). 

Google Guava Core Libraries are deprecated

com.google.common.collect : The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023 Deprecated since 2022-12-01 For removal : 2023-04-01 (com.adobe.aem.guides.wkndapp:wknd-app.all:1.0.0-SNAPSHOT)

How to install yarn

yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 

spelling of the name, or if a path was included, verify that the path is correct and try again.

+ yarn install

+ ~~~~

    + CategoryInfo          : ObjectNotFound: (yarn:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException



Install Yarn using npm or installer

There are two ways to install yran in development machine.

Install yarn using npm

npm install --global yarn

Install yarn using installer

We could download the installer file and install in the machine. link to download >> https://classic.yarnpkg.com/latest.msi


Reference

https://classic.yarnpkg.com/lang/en/docs/install