Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

optimization

Should I use wp_cache in my plugin to make it faster?

If you check the source code for get_option, you’ll see that it already uses wp_cache_get() and wp_cache_add() under the hood. So without looking deeper into the implementation, I would presume that two calls of get_option(‘foo’); would only trigger a single db call (and cache the result). Hence, in this case E) would apply: caching is … Read more

Categories PHP Tags cache, coding-standards, optimization, php, plugin-development

How to optimize wp_delete_post() function, or why it is so slow

How to optimize wp_delete_post() function, or why it is so slow

Categories server Tags optimization, server, wp-delete-post

WordPress UPDATE queries on MySQL database stuck

WordPress UPDATE queries on MySQL database stuck

Categories plugins Tags innodb, mysql, optimization, plugin-development, plugins

SQL: How to find all attachments that are not used in any posts/pages/custom_post_types

What you seek isn’t truly possible. You can get sort of close, but you cannot definitively say if an attachment is or isn’t in use. We can get somewhere close to a solution, but to do this we will need to process each attachment individually. So first, get a list of all the IDs of … Read more

Categories images Tags attachments, images, mysql, optimization, sql

Can mediaelement-and-play core JS be dequeued?

It’s for the audio and video players used by the and shortcodes, as well as the Audio and Video widgets, but not the Audio and Video blocks. The script will only be enqueued if you are using the shortcodes or widgets.

Categories core Tags core, optimization

Google Page Speed

Google Page Speed

Categories javascript Tags cache, javascript, optimization, plugin-w3-total-cache

Will memcached improve performance with WP Super Cache already running?

In the most simple terms, memcached/redis is for caching things like options and database values. WP Super Cache is meant for serving static HTML files, instead of loading PHP, but with that said, it will still have to run PHP code to generate those files. So yes, if you have the option of using memcached … Read more

Categories Database Tags database, memory, optimization, plugin-wp-supercache

How to do chunked JS files in WordPress?

How to do chunked JS files in WordPress?

Categories wp-enqueue-script Tags optimization, wp-enqueue-script

How to deliver webp format of images to WP REST API

How to deliver webp format of images to WP REST API

Categories rest-api Tags optimization, rest-api

Deferring Script wp-i18n causes a console error ‘wp is not defined’ – Gravityforms

Deferring Script wp-i18n causes a console error ‘wp is not defined’ – Gravityforms

Categories javascript Tags errors, javascript, optimization, plugin-gravity-forms, seo
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … Page22 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress