Sites Performance main problems and solutions
Components/Features | Sites, Templates | Issue/How to Solve | Comments |
---|---|---|---|
Features with images, videos, scripts | All sites | Issue: offset images loading, youtube videos. scripts; How to solve: was added lazy loading to renderer | LazyLoading is used in renderer with the following plugin: https://github.com/aFarkas/lazysizes/blob/gh-pages/README.md When you build new template please use the next class to activate lazy plugin: "ni-lazyload" |
Social Proof Mobile | Mobile Sites; | Issue: derferred function call (SetTimeOut); How to solve: changing timeout with CSS transitions | please use the optimised template "SocialProffBubbleRts Mobile" |
ChartComponent | "Zanzibar Mobile", "Zanzibar Mobile - V2" and "Zanzibar Mobile-2 Columns - V2" | Issue: dynamic adding of classes for chart elements with jQuery and waiting in loading; How to solve: remove or minimize dynamically adding classes | Opened: https://jira.naturalint.com/browse/CV-10639 |
*LazyLoading is used in renderer with the following plugin:
class needed to use : "ni-lazyload"