# TUTORIAL : How to optimize loading speed in WeWeb

**URL:** <https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894>\
**Category:** Tutorials\
**Created:** [February 7, 2024, 5:46pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894 "2024-02-07T17:46:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayanenocode](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rayanenocode/32/13166_2.png) [@rayanenocode](https://community.weweb.io/u/rayanenocode)\
**Post date:** [February 7, 2024, 5:46pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894/1 "2024-02-07T17:46:39Z")

</div>

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

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/958ce11903c59316890dfabb38f1cf36a7617cdd.webp "Tutorial full") ](https://vimeo.com/910901309)

---

<div class="post-metadata">

**Author:** ![rayanenocode](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rayanenocode/32/13166_2.png) [@rayanenocode](https://community.weweb.io/u/rayanenocode)\
**Post date:** [February 8, 2024, 1:05pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894/2 "2024-02-08T13:05:18Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/b9cfd84900b6ae947ab45fa9facfff60e8f97607.png)

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/cedric/32/9809_2.png) [@Cedric](https://community.weweb.io/u/Cedric)\
**Post date:** [February 9, 2024, 12:22pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894/3 "2024-02-09T12:22:51Z")

</div>

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 😅

---

<div class="post-metadata">

**Author:** ![rayanenocode](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rayanenocode/32/13166_2.png) [@rayanenocode](https://community.weweb.io/u/rayanenocode)\
**Post date:** [February 9, 2024, 1:00pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894/4 "2024-02-09T13:00:45Z")

</div>

Hello Cedric, thank you !!

---

<div class="post-metadata">

**Author:** ![rayanenocode](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rayanenocode/32/13166_2.png) [@rayanenocode](https://community.weweb.io/u/rayanenocode)\
**Post date:** [February 12, 2024, 6:19pm UTC](https://community.weweb.io/t/tutorial-how-to-optimize-loading-speed-in-weweb/6894/5 "2024-02-12T18:19:34Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/368f21ca39b752d84eaff6bee1cda465d80e3ffe.png)
