Discuss Scratch
- Discussion Forums
- » Suggestions
- » It takes over 200 HTTP requests to load the front page
- jvvg
- Scratcher
1000+ posts
It takes over 200 HTTP requests to load the front page
I was looking at the network log for fun, and saw that just to load the front page of this website, it took 215 HTTP requests. While I understand that each project thumbnail is a request, there was a lot of waste in the CSS. I looked at each category, and it breaks down like this:
While this isn't a huge deal for me (I have a fast internet connection and browser), this might be an issue for those who have slower connections or browsers, 5 requests of 100KB each takes a lot more computational power than 1 500KB request.
Please, try to group the CSS and JS more so there are fewer files! If you still need them separated for coding purposes, then just use server-side includes.
- Documents: 1
- CSS Stylesheets: 27
- Images: 153
- Scripts: 32
- AJAX: 2
While this isn't a huge deal for me (I have a fast internet connection and browser), this might be an issue for those who have slower connections or browsers, 5 requests of 100KB each takes a lot more computational power than 1 500KB request.
Please, try to group the CSS and JS more so there are fewer files! If you still need them separated for coding purposes, then just use server-side includes.
Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so bad — Why the April Fools' Day forum didn't work last year
- Greenatic
- Scratcher
100+ posts
It takes over 200 HTTP requests to load the front page
This should be improved, but at least it's working.
Windows 7 x64, Internet Explorer x64 and x32. Chrome.
- Mazdafreak
- Scratcher
100+ posts
It takes over 200 HTTP requests to load the front page
Yeah, it almost crashed my computer when I first logged on. It's kind of ridiculous, but I realize the Scratch Team is probably working hard to fix this and it should be resolved soon.
- Discussion Forums
- » Suggestions
- » It takes over 200 HTTP requests to load the front page