You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getting started tutorial stores a lot of gif which are very large. Large images have a negative impact on the content display especially on mobile. This may also have a negative impact on the SEO as the load time of the related pages is bad.
In addition, as the files are duplicated from versions to versions, this increase the overall size of the documentation site.
Gifs have been compressed with tools, but as this is not a very efficient format and videos last quite a long time, we still have a lot of large files.
Possible solutions
Long term solutions
Redo the video and host them in a dedicated video service.
--> 19 Gifs larger that 926Kb ⚠️ Most problematic files is ./modules/applications/assets/images/ui-builder/guides/localize-your-app.gif: 36M 😱
[UPDATE 2024-10-02]: removed in https://github.com/bonitasoft/bonita-doc/pull/2867/files
The getting started tutorial stores a lot of gif which are very large. Large images have a negative impact on the content display especially on mobile. This may also have a negative impact on the SEO as the load time of the related pages is bad.
In addition, as the files are duplicated from versions to versions, this increase the overall size of the documentation site.
Gifs have been compressed with tools, but as this is not a very efficient format and videos last quite a long time, we still have a lot of large files.
Possible solutions
Long term solutions
Short term solutions
Overall analysis of the bonita content size per version
2023-01-09
#434 (comment)
2024-09-18
https://github.com/bonitasoft/bonita-documentation-site/actions/runs/10879468775/job/30184228599 Push to Prod on Mon, 16 Sep 2024 07:38:41 GMT
Details
List of images in bonita 2022.2 larger than 50kB
Analysis done on commit: https://github.com/bonitasoft/bonita-doc/tree/dd90fecedf2847fa2e3383d26425ef6a0bcb33d5
Command from the repository root:
$ find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" \) -size +50k -exec ls -lh {} + | awk '{ print $9 ": " $5 }' | sort -k2 -hr
--> 18 Gifs larger that 926Kb
Command:
find . -type f -iname "*.gif" -exec du -ch {} + | grep total$
List of files larger than 50kB
List of images in bonita 2024.3 larger than 50kB
Analysis done on commit: https://github.com/bonitasoft/bonita-doc/tree/59b06d4ec2684e54ca6a5b52f153c82ddc504b5b
Command from the repository root:
$ find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" \) -size +50k -exec ls -lh {} + | awk '{ print $9 ": " $5 }' | sort -k2 -hr
--> 19 Gifs larger that 926Kb
⚠️ Most problematic files is ./modules/applications/assets/images/ui-builder/guides/localize-your-app.gif: 36M 😱
[UPDATE 2024-10-02]: removed in https://github.com/bonitasoft/bonita-doc/pull/2867/files
Details
The text was updated successfully, but these errors were encountered: