openrightsgroup / blocked-org-uk

Template front-end code, markup, style-sheets, images and other assets for the Censorship Monitoring Project (blocked.org.uk)
https://www.blocked.org.uk/
GNU General Public License v3.0
13 stars 5 forks source link

Exclude BT Strict only from front page / unblock recommendations #392

Closed JimKillock closed 3 years ago

JimKillock commented 5 years ago

It's not worth recommending user reviews for BT Strict blocks. Some of the sites are blocked by BT Strict only, so can we exclude these from the recommendations?

JimKillock commented 5 years ago

(see also #383 )

dantheta commented 5 years ago

These have been excluded now. It makes the page load a bit slower, but we can add some caching tomorrow.

The number of frontpage random sites has gone from 138,000 to just under 10,000.

dantheta commented 5 years ago

Added the caching for blocked networks on items. This speeds it up a lot.

Next up is the exclusions for category and keyword search follow-on suggestions.

dantheta commented 5 years ago

I think it could be worth coming back to the bt-strict exclusion on keyword & category search after #383 is done. The "next URLs" and frontpage URL suggestions are provided by the same bit of code, and have the same pre-requisites (updating the search index).

JimKillock commented 5 years ago

i'm not sure this issue is resolved. For instance;

https://www.blocked.org.uk/unblock2?url=http://www.london-chauffeurs.co.uk

was recommended to me off the front page

dantheta commented 5 years ago

Yep, I forgot to configure the feature when it was deployed. That's done now. Suggestions based on category or keyword search still need to have bt-strict excluded; that requires an update to the search index which will be done soon.