How do I improve mobile page load speed

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.


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.


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.