First "myth" is wrong. Loading CSS and JS with every click isn't about being "slow" it's about being efficient. CSS and JS requests add a non-trivial load to the server. So if you have 10,000 clients making requests for content they already have cached (they're just checking to see if these assets changed) then you're wasting server resources when you could've just kept the single page active and requested just what you needed over an AJAX call or even better: A WebSocket.
this post was submitted on 18 Nov 2024
5 points (100.0% liked)
Web Development
3443 readers
25 users here now
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
founded 1 year ago
MODERATORS
It's essentially why people have moved away from server side rendering.
It is way less resource intensive to send just the data and let the client do the rendering. Both in data transfer and compute.