minor performance issue while rendering pages
-
Doing performance testing using Query Monitor, I noticed the following queries originating from your plugin during page rendering:
SELECT option_value FROM wp_jjnk95_options WHERE option_name = 'last_folder_status_for' LIMIT 1 get_option('last_folder_status_for') Plugin: folders 0 0.0003 70 SELECT option_value FROM wp_jjnk95_options WHERE option_name = '_transient_timeout_premio_folders_without_trash' LIMIT 1 get_option('_transient_timeout_premio_folders_without_trash') Plugin: folders 1 0.0004 71 SELECT option_value FROM wp_jjnk95_options WHERE option_name = '_transient_premio_folders_without_trash' LIMIT 1Fetching a few options isn’t a major performance hit, but I don’t understand why your plugin is doing anything during page rendering. It should only be taking up cycles in the editor and dashboard.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘minor performance issue while rendering pages’ is closed to new replies.