TUTORIAL : How to optimize loading speed in WeWeb

This is just my experience. If you have any other recommendations, please let me know in the comments !:sweat_smile:

6 Likes

Also important: if you have a lot of tools in the head page like google tag manager, google analytics etc etc it can slow down your web app

1 Like

Great tips!! Here’s a few to add:

  • Backed pagination (One huge collection can slow everything down to a halt)
  • Sanitize user input data (JS errors are a killer)
  • Reuse variables, where possible
  • Component instances (SPA, helps when switching pages)
  • Tell users to upgrade their PC’s :sweat_smile:
1 Like

Hello Cedric, thank you !!

1 Like

I’ve just discovered this new feature, select eager instead of lazy for images if you’re developing a marketplace. It will load all images on page load instead of loading them little by little on scroll which can cause display bugs and doesn’t render cleanly.

3 Likes