News for hackers. Stuff that matters.
Re:There's never been a better time to build websites by thomasahle on Monday December 20, 2021 @11:13AM (#29626470)
> 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.

Re:There's never been a better time to build websites by jakelazaroff on Monday December 20, 2021 @11:21AM (#29626582)
If 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!
Re:There's never been a better time to build websites by saulpw on Monday December 20, 2021 @06:53PM (#29632069)
You 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.
Re:There's never been a better time to build websites by hrisng on Monday December 20, 2021 @10:57PM (#29633675)
Eh, most static site hosting provider offer it out of the box nowadays
Re:There's never been a better time to build websites by saulpw on Tuesday December 21, 2021 @09:01PM (#29644725)
What if I want to run a simple but non-static website? It was a lot easier to just do CGI with a small perl script in the 2000s.
Re:There's never been a better time to build websites by pipe01 on Wednesday December 22, 2021 @06:14AM (#29647848)
Pretty much every web provider supports PHP, so it would be as simple as changing the extension from .html to .php
Re:There's never been a better time to build websites by inkeddeveloper on Monday December 20, 2021 @07:03PM (#29632134)
No it’s not. Certs are pretty dumbed down. So much so that there is a thing called certbot that just does it for you.
Re:There's never been a better time to build websites by saulpw on Tuesday December 21, 2021 @08:58PM (#29644711)
Yeah, 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.
Re:There's never been a better time to build websites by la_fayette on Monday December 20, 2021 @04:47PM (#29630734)
IE had ActiveX since 1996, which allowed for things similar to Ajax.
Re:There's never been a better time to build websites by 888666 on Monday December 20, 2021 @11:30AM (#29626678)
I used 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.
Re:There's never been a better time to build websites by inkeddeveloper on Monday December 20, 2021 @07:04PM (#29632137)
Is that like modern geocities?
Re:There's never been a better time to build websites by egeozcan on Friday December 31, 2021 @10:00PM (#29755056)
Exactly. Same in the spirit.
Re:There's never been a better time to build websites by hluska on Monday December 20, 2021 @12:50PM (#29627619)
Welcome 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.

Re:There's never been a better time to build websites by inkeddeveloper on Monday December 20, 2021 @07:05PM (#29632145)
I honestly feel like CORS was invented just to get people to use reverse proxies more.
Re:There's never been a better time to build websites by naniwaduni on Tuesday December 21, 2021 @02:16AM (#29634859)
CORS enables site operators to prevent third-party sites from offloading requests for them onto clients, and conveniently reduces XSS exposure as a side-effect.