1,510 karma · joined January 29, 2017
- to revoke a JWT you have to blacklist it in the database so it still requires a database call to check if it's valid.
- JWT are to prevent database calls but a regular request will still hit the database anyway.
- JWT are very large payloads passed around in every request taking up more bandwidth.
- If user is banned or becomes restricted then it still requires database calls to check the state of user.
- JWT spends CPU cycles verifying signature on every request.
- JWTs just aren't good as session tokens which is how a lot of web developers try to use them as. Use a session ID instead.
Where JWT works best:
- when a client can interact with multiple services and each service doesn't need to do a network request to verify (ie federated protocols like OpenID). The client verifies the user's identity via the 3rd party.
- as a 1 time use token that's short lived, such as for downloading files where user gets a token requested from auth server and then sends it to the download server.
https://isitblockedinrussia.com/?host=https%3A%2F%2Fwww.netl...
> Yes! It appears that https://www.netlify.com/ is currently blocked in Russia.
> Details:
> URL
> Domain
> www.netlify.com
> IP
> 167.99.137.12
> Decision 27-31-2018/Ид2971-18 made on 2018-04-16 by Генпрокуратура.
> This block affects IP 167.99.0.0/16.
My understanding is that the blocks are accidental side effects from the Great Telegram Blockage of 2018 [0] but I'm not entirely sure.
[0] https://en.wikipedia.org/wiki/Blocking_Telegram_in_Russia
I've also had Russian users tell me that Netlify is sometimes blocked in Russia and can't access the sites but it may sporadic.
Reddit with Spectrum internet latency feels like water.
There's services like INFURA [0] and Pinata [1] that will pin content for free. It's as simple as using ipfs-deploy [2] to publish the build directory to one of those IPFS pinning services.