Best Website-BuildersBest Website-Builders
    What's Hot

    Drone footage captures devastation after tornado

    March 25, 2023

    Energy firms call for windfall tax to fall with prices

    March 25, 2023

    First female police officer in rural Michigan town says fellow cops relentlessly harassed and assaulted her

    March 25, 2023
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    Best Website-BuildersBest Website-Builders
    • Home
    • CSS

      How to optimize Next.js fonts with @next/font

      March 25, 2023

      RCMP Phone Tracking Continues Despite Privacy Concerns

      March 25, 2023

      OpenAI Reveals Redis Bug Behind ChatGPT User Data Breach Incident

      March 25, 2023

      CSS’s Ledenkov and Bostedt, UWS’ Meylan named All-American

      March 24, 2023

      IT and Computer Science Skills Introduce Students to the IT Industry – Muleshoe Journal

      March 24, 2023
    • Joomla

      Save Thousands On Web Hosting With iBrave, Now Only $86

      March 23, 2023

      In Vitro Transcription Services Market Analysis, Research Study with Shanghai Zhishuo Biotechnology Co., Yunzhou Biotechnology Co.

      March 23, 2023

      Current state of UK content management systems

      March 23, 2023

      Reseller Hosting Business: Important Q&A

      March 21, 2023

      Web Hosting: 8 Elements Every Entrepreneur Should Look For

      March 20, 2023
    • PHP

      Mississippi tornado kills at least 24, uproots town

      March 25, 2023

      Ja Morant’s suspension puts him in the spotlight

      March 25, 2023

      Kelly Ripa and Mark Consuelos’ marriage is horny

      March 25, 2023

      Naomi Osaka gives birth These are her pregnancy products she swears by.

      March 25, 2023

      Something to read or watch when you need a snack.

      March 25, 2023
    • UX

      Iberia named world’s most punctual airline in January

      March 25, 2023

      Hungama launches the highly anticipated all-in-one app that seamlessly integrates music and movies for an unparalleled user experience.

      March 25, 2023

      Fort Worth All-Women’s Robotics Team Fights for State Title – NBC 5 Dallas-Fort Worth

      March 25, 2023

      Fort Worth All-Women’s Robotics Team Fights for State Title – NBC 5 Dallas-Fort Worth

      March 24, 2023

      Navigating Algorithms: Tips and Tricks for SEO Success | Recommended

      March 24, 2023
    • Web Builders
      1. Web Design
      2. View All

      What Comes First in Website Development — Design or Copy?

      February 2, 2023

      Modern Campus Honors Best Higher Education Websites of 2022

      February 2, 2023

      Premier SEO Consultant in Las Vegas, Nevada with Unparalleled Customer Service

      February 2, 2023

      Can Religious Freedom Be Saved? This group is racing the clock to teach America’s first freedom

      February 2, 2023

      How i Create New Google Account

      February 7, 2023

      CWT powers tools for meeting and event planners

      January 31, 2023

      Best Website Builder – Website Builders

      January 24, 2023

      Is There A Market For Rap-Themed Slot Games? – Rap Review

      January 19, 2023
    • WordPress

      New Pixel Tablet leak contains images of Pixel Stand accessories

      March 25, 2023

      Sonos Move 2 could arrive in the coming months

      March 25, 2023

      Businesses Worry About the Dark Web, But They Are Not Doing Much

      March 25, 2023

      Quordle today – Tips and Answers for Saturday March 25th (Game #425)

      March 25, 2023

      This $399 AMD-based One-Eyed PC Is One Of The Weirdest Designs I’ve Seen In 25 Years

      March 25, 2023
    • Realtoz
      • Our Other Sites
    • More News
    Best Website-BuildersBest Website-Builders
    Home » WordPress 6.1 includes “significant database performance improvements”
    Wordpress

    WordPress 6.1 includes “significant database performance improvements”

    websitebuildersnowBy websitebuildersnowSeptember 28, 2022No Comments5 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    WordPress 6.1, slated for November 2022, will bring “significant database performance improvements” thanks to new post-query caching.

    This new feature will improve the performance of your WordPress website.

    The precision caching improvements are to post-query caching.

    In a Twitter thread announcing, someone asked if this improvement had already started in version 6.0.

    significant improvement

    According to the major WordPress contributors who worked on this project, the caching feature brings dramatic improvements.

    Main contributor murmured:

    “WordPress 6.1 has significantly improved database performance.

    WP_Query database queries are now cached. A ticket that has been worked on for over 5 years has been merged.

    This should save billions of repeated database queries. ”

    A draft development note has also been started with more information about caching.

    “WordPress 6.1 has an improved way to perform database queries in the ‘WP_Query’ class, caching the results of database queries in the object cache.

    This means that if the same database query is executed multiple times, the results will be read from cache.

    If you’re using persistent object caching, this means that database queries won’t run again until the cache is invalidated, and queries to the database are rarely run. ”

    they Asked:

    “Thanks! Isn’t this already fixed in 6.0?

    This caused big problems for big woo-stores. If only the child categories are checked and not the top level (parent) categories, the archive page categories will disappear.

    I’m interested in notes with more context.”

    WordPress core committer responded:

    “We are constantly improving database performance.

    6.0 improved term query caching. This is post query caching. Related but not the same.

    This issue has been fixed in 6.0.1. I patched it myself. ”

    WordPress database and queries

    WordPress stores different parts of your website in a database.

    The database contains information about sites organized in tables.

    For example, all the content of a web page post is stored in a table.

    When someone visits a web page, WordPress “queries” the database to find and find the content of that web page in the database.

    WordPress makes multiple queries to the database for each web page requested and runs them for every site visitor.

    As a result, thousands of occurrences per minute can overwhelm the server, resulting in poor database performance and slowing down the entire site.

    With this new database caching feature, instead of making a database query, we first check to see if what we’re looking for is in the cache and retrieve the information from there.

    This is similar to ordering lunch. Instead of waiting for your lunch to be made, the order taker reaches under the counter and makes it right away.

    Response from the WordPress community

    The informal announcement was received with enthusiasm.

    Congratulations. such a big impact.

    — Ellie Sloim (@ElieSl) September 27, 2022

    Fairplay, this is huge in many ways. Can’t wait to try this. Thank you for your hard work and persistence!

    — Simon Pollard (@smp303) September 27, 2022

    Good for you, Johnny! It’s pretty cool to be able to have a positive impact on that scale.

    — Keith Devon (@keithdevon) September 27, 2022

    Great! It always bugged me that I had to jump through hoops to avoid duplicate queries with this.

    — John Brown (@jb510) September 27, 2022

    Fix last minute issue

    Despite enthusiastic tweets announcing that this feature will be included in the next WordPress release, a final issue has arisen that seems to cast doubt on whether this feature will be included in the next WordPress release. .

    The GitHub ticket for the cache project has been closed. So it looks like all the bugs have been resolved and the project is closed.

    However, a few hours later, the same WordPress contributor reopened the ticket as a new issue was discovered.

    The issue discovered had to do with persistent object caching.

    They wrote an explanation:

    “We found some issues with persistent object caching, so we’re reopening.
    Issue 1 – If persistent object caching is enabled, add cache is called too often. This is because update_post_caches is called. Do not call this function if the object cache is enabled.
    Issue 2 – Cache set is called every time WP_Query is executed, not just the first time. ”

    A new GitHub pull release has been opened to document fixes for newly discovered issues.

    Confirmed: Database Cache Included in WordPress 6.1

    I reached out to the developer via Twitter direct message and they said there was no delay.

    He confirmed that with six weeks left as of today, these newly discovered issues will be fixed and the new caching feature will be included in WordPress 6.1.

    updated status

    A few days later we were informed that the GitHub pull release for this feature was updated and the issue was resolved.

    The comment said:

    “Query: Store excess cache additions and settings in WP_Query.
    of [53941] Added database query caching to WP_Query. However, for sites with persistent object caching enabled, this resulted in a large number of unnecessary cache sets, appending on every request. If the query cache already exists and is cached, the cache will not be set. Replace use of update_post_caches with _prime_post_caches so that only non-cached posts are primed. ”

    Then, shortly after that comment, the main contributor said:

    • fixed resolution
    • Status changed from reopened to closed

    Nothing has been officially announced yet, but that’s not unusual. Every release contains hundreds of improvements, with the most important ones usually highlighted on the actual release date.

    New features to improve WordPress performance are coming to version 6.1, currently scheduled for November 2022.


    Featured image from Shutterstock/iViDI Studio





    Source link

    Share this:

    • Tweet
    • Email
    • Pocket
    • Mastodon
    • WhatsApp
    • Telegram
    • Share on Tumblr
    • Print
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleUnderstanding JavaScript constructors
    Next Article The direction JavaScript is headed in 2022
    websitebuildersnow
    • Website

    Related Posts

    New Pixel Tablet leak contains images of Pixel Stand accessories

    March 25, 2023

    Sonos Move 2 could arrive in the coming months

    March 25, 2023

    Businesses Worry About the Dark Web, But They Are Not Doing Much

    March 25, 2023
    Add A Comment

    Leave a Reply Cancel reply

    Top Posts

    Subscribe to Updates

    Get the latest sports news from SportsSite about soccer, football and tennis.

    Advertisement
    Demo

    This website provides information about CSS and other things. Keep Supporting Us With the Latest News and we Will Provide the Best Of Our To Makes You Updated All Around The World News. Keep Sporting US.

    Facebook Twitter Instagram Pinterest YouTube
    Top Insights

    Drone footage captures devastation after tornado

    March 25, 2023

    Energy firms call for windfall tax to fall with prices

    March 25, 2023

    First female police officer in rural Michigan town says fellow cops relentlessly harassed and assaulted her

    March 25, 2023
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2023 bestwebsite-builders. Designed by bestwebsite-builders.
    • Home
    • About us
    • Contact us
    • DMCA
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.