dativebase / old-pyramid

Online Linguistic Database (OLD)
http://www.onlinelinguisticdatabase.org/
8 stars 2 forks source link

Problem: caching issue can result in inaccurate total form count #39

Open jrwdunham opened 3 years ago

jrwdunham commented 3 years ago

Observed an issue from a user related to caching. User would login and Dative would make an initial request to forms?page=1 and receive a response object with an array of forms and an inaccurate total form count, in this case a form count of 9,150 forms when there were in fact 9,236 forms (Gitksan OLD). The issue was solved for the user by using Chrome developer tools to set the "disable cache" option and then refreshing the page. Subsequently, the total form count returned was the accurate 9,236.

This issue should be investigated further. If it can be recreated, then there may be some logic related to caching and the HTTP request that needs to be fixed.