[ 
https://issues.apache.org/jira/browse/IGNITE-13941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266154#comment-17266154
 ] 

Mauricio Stekl commented on IGNITE-13941:
-----------------------------------------

[~dmagda], the good news is the fixes are being already picked up by Google. 
The pages ranked as "poor" performance, are decreasing. However not all of the 
issues are fully resolved yet, and that's why the 'need improvements' grew up 
proportionally. 

One of the issues is with embed images on the docs, and we might need help from 
the documentation editors to address it. When images are included, it is 
necessary to explicitly set the width/height for it. When this is done, the 
browser can allocate space and the UI is not jumping around for the user. This 
is one of the reasons for CLS.

I only found a way of doing this when using asciidoc, and is by separating the 
sizes with commas after the title, like: 
{{image::images/ijimport.png[Importing a Project in IntelliJ, 615, 480]}}
The  width would be 615, and height 480.

 

However, the right way would be to resize the original image to be served to 
different screen sizes. There is one plugin I found, 
[https://github.com/rbuchberger/jekyll_picture_tag,] which does this for 
Jekyll, but I couldn't make it work with asciidoc. I must say my knowledge of 
Jekyll/Asciidoc is quite limited, so maybe someone else could chime in here. 

 

  !Screen Shot 2021-01-15 at 12.53.29.png!

> Poor CLS reported for multiple website pages
> --------------------------------------------
>
>                 Key: IGNITE-13941
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13941
>             Project: Ignite
>          Issue Type: Bug
>          Components: website
>            Reporter: Denis A. Magda
>            Assignee: Mauricio Stekl
>            Priority: Major
>         Attachments: Screen Shot 2021-01-15 at 12.53.29.png
>
>
> Google reported a poor CLS index for multiple pages:
> [https://search.google.com/search-console/core-web-vitals?resource_id=https%3A%2F%2Fignite.apache.org%2F]
>  
> The mobile traffic is affected even more severely. Need to address the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to