Control panel loads slowly due to 2 slow queries on comment table
Control panel loads slowly due to 2 slow queries on comment table
Control panel loads slowly due to 2 slow queries on comment table
Multisite with 220+ sites painfully slow
How to preload images through Code Snippets wp_head for specific pages?
If it’s a one-time maintenance issue then run the code manually at a time you chose. If it’s a periodic maintenance task that might be heavy, use unix cron. Otherwise, wp-cron can be used. You’re probably using it more than you know already. This plugin is great for monitoring wp-cron.
Terms generally should have a count parameter that you can use. I’m not sure if this is accurate across multiple post types though. This may not be the fastest solution but one option could be the additional parameters for WP_Query to both reduce the number of queries and the returned values. 10up has a good … Read more
Speed up / Optimize Admin Edit Post Page on Large Websites (50-150k posts, 50 custom fields per post)
The most of editing process (from loading editor page to saving post) happens in browser and doesn’t involve server. The one exceptions is auto save feature – post will be quietly saved by JavaScript in background, every minute by default. This might cause performance issue if you have considerably large posts, considerably many editors and … Read more
Each page load triggers a database query that reads all the options (from what I’m aware the option records are all auto-loaded). Anyway 317 K is not something you should worry about, but there are better ways to store your data, for example a simple text file that gets read trough ajax only when the … Read more
Nothing here is a silver bullet, but here are some suggestions: If you find yourself using your library more than uploading new images, you can make the default tab “Library”: add_filter(‘_upload_iframe_src’, ‘change_default_media_tab’); function change_default_media_tab($uri) { return $uri.’&tab=library’; } If you want the default tab to be the uploader, but you want it to load faster, … Read more
You can use a fantastic plugin called CDN Linker.