All wp_options autoload set to yes
-
I have lately tried to debug some things on my wp_options that have autoload set to yes, thus loading on every page, and found out that many plugins autoload some options to all pages even when not needed at all. This isnt a big problem if the variable is small enough, but if its big it could be. I found out that many plugin developers could do this by not knowing that when using update_option(), you need to set the 3rd parameter to false, so autoload is set to no. https://wpshout.com/wp-option-autoload/
I found some rankmath options that were pretty big and (maybe?) unneeded fast in all pages so autoload could be set to no.
rank_math_video_posts, rank_math_seo_analysis_results etc.
Please give a look.
- The topic ‘All wp_options autoload set to yes’ is closed to new replies.