6 ms·
> The thing is you can still do all of this. But we have since built tools and frameworks to let you still do this, while giving you superpowers. I think Svelte
by thomasahle 5y ago
> The thing is you can still do all of this. But we have since built tools and frameworks to let you still do this, while giving you superpowers. I think Svelte is the best example of this. You can create a dead simple site with it and have the result you are talking about
I don't know. I just tried to use Netlify to upload a simple static Html/Javascript page I made.
Now I'm trying to figure out CORS errors.
Pretty sure that didn't use to be a thing.
For better and worse.
- jakelazaroff 5y agoIf you're trying to figure out CORS errors, it means you're either loading fonts or making XMLHttpRequests across domains. Neither of those were available in the 90s era OP is rhapsodizing about. You don't have to use the additional features/complexity of the past 15–20 years… but if you do, it's not surprising that things get a little more complex!
- la_fayette 5y agoIE had ActiveX since 1996, which allowed for things similar to Ajax.
- saulpw 5y agoYou actually do have to use HTTPS nowadays, and that's a non-trivial amount of complexity compared to just serving up a static page over HTTP.
- inkeddeveloper 5y agoNo it’s not. Certs are pretty dumbed down. So much so that there is a thing called certbot that just does it for you.
- saulpw 5y agoYeah, we run certbot. It fails for some reason at least once a year and we have to do something to fix it. At the very least you have to find a way to run it on the regular and you can't forget about it or else your simple static website starts looking like malware. Tell me again how trivial it is for a 15-year-old kid using their parents' Windows 10 machine to get certbot running reliably.
- hrisng 5y agoEh, most static site hosting provider offer it out of the box nowadays
- 888666 5y agoI used https://neocities.org/ https://neocities.org/ recently to make a simple static html website with no issues and no configuration. And I'm someone who usually uses the more "advanced" stuff. It's nice having the freedom to chase a little nostalgia sometimes.
- inkeddeveloper 5y agoIs that like modern geocities?
- egeozcan 5y agoExactly. Same in the spirit.
- hluska 5y agoWelcome to CORS errors, so sorry you made the trip. :) CORS will eventually click for you and then it will always make sense. Until then, sorry you’re going through the muck.
- inkeddeveloper 5y agoI honestly feel like CORS was invented just to get people to use reverse proxies more.
- naniwaduni 5y agoCORS enables site operators to prevent third-party sites from offloading requests for them onto clients, and conveniently reduces XSS exposure as a side-effect.