kucharzyk / spring-angular2-starter

PROJECT DISCONTINUED
MIT License
210 stars 65 forks source link

API abuse protection #37

Open herasimau opened 8 years ago

herasimau commented 8 years ago

Can't add new post on live demo

herasimau commented 8 years ago

when press refresh javascipt crashes

kucharzyk commented 8 years ago

It's your browser fault - it's working for me :)

There are ~7000 posts with text "How to avoid this"?

Raw data size is 1.5 MB but browser tab memory usage in chome is about 667MB

It looks like request for better handling of data -> pagination and something like csrf tokens or rate limiting

kucharzyk commented 8 years ago

Demo server is now clean and running.

I'll changed issue name. API should be protected

billbarni commented 8 years ago

Maybe use 'Pageable' (org.springframework.data.domain) as DTO in table/lists. (Sorry if this type of comment is unwanted, please tell me).

kucharzyk commented 8 years ago

Pagination is "must have" feature and will be implemented (using Pageable).

All comments are wanted so thanks for your comment