Traffic: data needs to be sent back to the server for all the HTTP requests, which increases the traffic between client and server.
In most cases this is true, but you can use fetch API to prevent this:
fetch(URL,{credentials:"omit"})
On the other side if the browser supports fetch it is better to use sessionStorage or localStorage for client-side storage, and use cookies only for passing data to the server (for example for authentication).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice post. A small addition to it
In most cases this is true, but you can use
fetch
API to prevent this:On the other side if the browser supports
fetch
it is better to usesessionStorage
orlocalStorage
for client-side storage, and use cookies only for passing data to the server (for example for authentication).