Hmmmmm... I think it'd be best to do it in one request and have the server return a json, but I would need to implement ratelimits, or maybe caching so my other sites dont get pinged too fast (possible dos exploit), I dont know TOO much about CSRF tokens, but I wonder if I could limit server requests with them ---- nvm, its a per session thing anyways and creating bot sessions are easily done from client side. Maybe I could do a backend ping on interval and save it to cache/db. sorta like a heartbeat system I guess, that WOULD mitigate any potential dos issues with using queries :P....
requiem.moe
1.4.7?
Welcome to my personal website and blog. Explore my projects, read my thoughts, and connect with me.
Comments
Please log in to comment.