✴︎ Welcome
to my
Blog.
—20.26
Some interesting stuff…
-
WP Revision
What is a Session? A session allows storing information about a user across multiple HTTP requests. Think of it as a container that holds data such as authentication info, form validation errors, and user preferences. Each session is tied to one user account, but a single user can have multiple sessions from different devices. In…
-
WP Cron Revision
What is WP-Cron? WP-Cron is not a real cron job in the server sense. WordPress relies on user visits to trigger scheduled tasks, meaning cron jobs are executed when someone visits your site. This works well for smaller sites but might be less efficient for high-traffic sites. By default, WordPress offers predefined intervals for scheduling…
-
WP: Rewrites & Permalinks
What is the Rewrite API? The Rewrite API in WordPress is a framework that allows you to create custom URL structures that are more meaningful, both to humans and search engines. It interprets and processes the URLs, converting them into queries that WordPress can understand and respond to. Why Use the Rewrite API? Customizing URLs…
-
Batching in WordPress and Query Optimization
Efficient data handling and performance optimization are critical for WordPress developers. With the increasing complexity of applications and the growing volume of data, it becomes essential to manage database queries and operations effectively. What is Batching? Batching is the process of grouping multiple operations or queries into a single operation. Instead of executing multiple database…
-
Optimizing WP with Object Cache API and Drop-ins: A Technical Deep Dive
In this blog, we will explore the Object Cache API, the role of Drop-ins in caching, and how you can optimize your WordPress site for better performance. Understanding the Object Cache API What is Object Caching? Object caching refers to the process of storing database query results in memory so that subsequent requests for the…