Hacker News new | ask | show | jobs
by bko 1769 days ago
I love the site!

Not sure if this is the feedback you were looking for but I noticed its a bit slow though. I would look at the GET to https://api.visum.so/api/country_data/

It returns all countries data which is slow and uncompressed. Either hit it once and keep it in memory so you can switch countries easily, or better yet break it up to api/country_data/<country> and just send back the info for that country

I would also get rid of stripe if you're not using it yet.

1 comments

Yes, great feedback, thx! I really need to adjust the API, calls and cache. As this is the first website i have ever built, i still have a lot to learn.
That endpoint actually is already being properly cached at Cloudfront's edge and is compressed so it could be a lot worse

edit: Just noticed this gives a Server Error btw: https://nomadvisa.io/betteruptime

This is still pretty good and incredible considering its your first site. You have a great design sense and concept. The rest you'll get. There's more or less a right way to do the eng stuff which you'll figure out.