Closed thomasplevy closed 4 years ago
@eri-trabiccolo thoughts?
@thomasplevy Actually I always thought they were there as reminder of something we could improve in the future... I have no other objection than this...
Edit: Oh that's what you said for the direct query.no caching so yeah I agree with you 100%
There's some rules that we nearly always ignore. Should we remove these rules at the library level so as to not require always ignoring rules we're simply okay with using?
These rules could be disabled: WordPress.DB.DirectDatabaseQuery.DirectQuery WordPress.DB.SlowDBQuery.slow_db_query_meta_key WordPress.DB.SlowDBQuery.slow_db_query_meta_value WordPress.DB.SlowDBQuery.slow_db_query_meta_query WordPress.DB.SlowDBQuery.slow_db_query_tax_query
I think we should keep the DB caching rule to help us remember to use cashing where possilbe: WordPress.DB.DirectDatabaseQuery.NoCaching