# How do I improve mobile page load speed

**URL:** <https://forum.codewithmosh.com/t/how-do-i-improve-mobile-page-load-speed/25282>\
**Category:** HTML/CSS\
**Created:** [February 23, 2024, 4:48pm UTC](https://forum.codewithmosh.com/t/how-do-i-improve-mobile-page-load-speed/25282 "2024-02-23T16:48:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt231](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/matt231/32/7805_2.png) [@Matt231](https://forum.codewithmosh.com/u/Matt231)\
**Post date:** [February 23, 2024, 4:48pm UTC](https://forum.codewithmosh.com/t/how-do-i-improve-mobile-page-load-speed/25282/1 "2024-02-23T16:48:24Z")

</div>

I marked up the css file so certain sections of the web page are hidden on mobile res. Does this help load speed? I can’t see the speed difference and I can still see the source code for the hidden parts.

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [February 24, 2024, 11:17am UTC](https://forum.codewithmosh.com/t/how-do-i-improve-mobile-page-load-speed/25282/2 "2024-02-24T11:17:54Z")

</div>

Hi,

You have indeed all the elements to understand. CSS is just the part that tells how it looks. You need to act on the part that tells “what to display”. Basically your backend must not send what you consider expensive HTML.

Cheers.

---

<div class="post-metadata">

**Author:** ![procoder](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@procoder](https://forum.codewithmosh.com/u/procoder)\
**Post date:** [February 25, 2024, 5:46pm UTC](https://forum.codewithmosh.com/t/how-do-i-improve-mobile-page-load-speed/25282/3 "2024-02-25T17:46:21Z")

</div>

Yes, this can improve initial page load speed, as it reduces the amount of content loaded. However, it doesn’t fully eliminate the data transfer or processing time. To enhance performance, use server-side techniques like lazy loading or conditional loading for mobile devices.  
Thanks
