Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi.
Some node types may not need to go through the insight module as not concered by SEO.
Excluding types in the configuration of contentanalysis would help (like xmlsitemap setup, for instance) controlling size of the mysql table and the reports, as in https://www.drupal.org/node/2306221#comment-8985585
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#1 | allow-type-ignored.patch | 2.75 KB | JulienThomas |
Comments
Comment #1
JulienThomas CreditAttribution: JulienThomas commentedTo do this, I reviewed
as follows:
a) relies on settings made in settings.conf, variable "contentanalysis_ignore_types". This variable is an array so settings is done with
Then before doing any analysis, we check the variable values
This updates is associated to the following MySQL db updates:
insight_reports: 33k+ entries becomes 7k entries
insight_alerts: 110k+ entries becomes 30k entries
by removing only one content type that is extensively used but without SEO meaning.
To get this, I performed SQL queries as
Example of patch is attached