verdie-g / crpg

Multiplayer mod for Mount & Blade II: Bannerlord
https://c-rpg.eu
GNU General Public License v3.0
31 stars 25 forks source link

Local browser cache troubles #428

Open or2e opened 2 years ago

or2e commented 2 years ago

Describe the bug After Items balancing changes and deployment, the item params don't match. Fixed by browser cache flush (ctrl+f5) Quickly checked, it seems that we don’t cache the response from REST API, hmm..

Screenshots/Videos

Shop Page shop_str_req

Inventory inv_str_req

verdie-g commented 2 years ago

https://github.com/verdie-g/crpg/blob/5b27019ce8560bd1aa8a405412d5cf6236519f37/src/WebApi/Controllers/ItemsController.cs#L17 It's here as a protection to avoid people dumping the items table too much but I agree it's bad for the use experience.

or2e commented 2 years ago

Need pagination, filtering & sorting on the server side (REST API)