Conversation
Edited 7 days ago
complaining about SPAs
Show content

tonight on “websites should not be able to do that!”

I was troubleshooting network issues earlier and I was so confused because a lot of websites were half-loading, so I was starting to think that I couldn’t connect to a specific CDN or something

but then it turned out that I wasn’t connected to the internet at all, and those pages were half-loading without any connection to the internet. what the fuck

SPAs have introduced so many new failstates that I, as a computer user, have to adapt to and figure out. like sometimes reloading a page isn’t enough to get rid of corrupted state. you have to actually highlight the address bar and press enter, and I guess that gives you a “real” refresh that actually refreshes the page, because otherwise the SPA can hijack your refresh attempt and only pretend to be refreshing. they shouldn’t be able to do that either

bring back webpages that are just webpages with a URL that have content that you load with a web request. for fucks’ sake

3
0
4
re: complaining about SPAs
Show content
@kasdeya ctrl+f5
1
0
2
re: complaining about SPAs
Show content

@wyatt ooh, got it! I’m guessing that does a proper refresh, and that’s great to know

1
0
0
re: complaining about SPAs
Show content
@kasdeya works in firefox and derivatives at least
1
0
1
re: complaining about SPAs
Show content

@kasdeya ooo you really won’t like Service Workers

2
0
2
re: complaining about SPAs
Show content

@wyatt I’m using Firefox, so that’s perfect! I’ll try to remember that for the next time I end up with corrupted state

1
0
0
complaining about SPAs
Show content

@kasdeya quick tip to force full page refreshes : shift+ctrl+r
no more fiddling with the URL bar:)

1
0
1
re: complaining about SPAs
Show content

@kasdeya the web page can install a special javascript file and then every network request will go through this javascript. the script can then arbitrarily decide to serve something completely different than the real resource or handle the request entirely on its own without ever touching the network!

1
0
1
re: complaining about SPAs
Show content

@kimapr ehehe I have no idea what that is but it sure sounds like it :P

0
0
1
re: complaining about SPAs
Show content

@kimapr oh wow! yeah I absolutely hate that! thank you for that nightmare fuel!

1
0
1
re: complaining about SPAs
Show content

@konstruct ooh, thank you!

0
0
1
re: complaining about SPAs
Show content

@kasdeya would u kill me if i said i actually used that on one of my web apps (this is why i know about it)

1
0
1
re: complaining about SPAs
Show content

@kimapr aw, no lol that’s okay! I definitely hate them but I’m sure they have lots of uses too. and presumably if you use them well then they won’t cause weird difficult-to-troubleshoot problems

0
0
1
re: complaining about SPAs
Show content
@kasdeya things you learn when you host a website :p
0
0
1