
Loading…
[Firefox Mobile] blocked requests count keeps constantly increasing when navigating github #1071
Okay, that explains it. Would maybe resetting the blocking stats when using the back button make sense to mitigate this?
Would maybe resetting the blocking stats when using the back button make sense to mitigate this?
No. When we go backward, there is no document fetched. From our point of view, it does appear that a new document is fetched and that stats should be reset, but really this is all incremental. Imagine the case where only a very small area of the page gets updated: in such case, it would not make sense that the stats reset whenever that small area gets updated. Github just happens to update such a large area that it almost appears as it is a page reload.
Bottom line is that uBlock sees incremental update of a page, and when this happens the semantic is that it's not a full page reload, and stats have to stick. Doing otherwise is not welcomed, or else you would end up with cases like stats on Google Maps resetting every time you pan or zoom.
Thanks for the explanation.
Steps to reproduce:
Maybe this is actually intented behavior though I don't know.