SQLite Object Cache
A persistent object cache helps your site perform well. This one uses the widely available SQLite3 extension, and optionally the igbinary and APCu extensions to php. Many hosting services offer those extensions, and they are easy to install on a server you control. What is this about? It’s about making your site’s web server perform better. An object cache does that by reducing the workload on your MariaDB or MySQL database. This is not a page cache; these persistent objects go into a different kind of cache. These objects aren’t chunks of web pages ready for people to view in their browsers, they are data objects for use by the WordPress software. Caches are ubiquitous in computing, and WordPress has its own caching subsystem. Caches contain short-term copies of the results of expensive database lookups or computations, and allow software to use the copy rather than repeating the expensive operation. This plugin (like other object-caching plugins) extends WordPress’s caching subsystem to save those short-term copies from page view to page view. WordPress’s cache happens to be a memoization cache. Without a persistent object cache, every WordPress page view must use your MariaDB or MySQL database server to retrieve everything about your site. When a user requests a page, WordPress starts from scratch and loads everything it needs from your database server. Only then can it deliver content to your user. With a persistent object cache, WordPress immediately loads much of the information it needs. This lightens the load on your database server and delivers content to your users faster. Who should use this? If your site runs on a single web server machine, and that server provides the SQLite3 and igbinary extensions to php, this plugin will almost certainly make your site work faster. And if that server provides the APCu extension, this plugin uses it too. Some hosting providers offer redis cache servers. If your provider offers redis, it may be a good choice. You can use it via the Redis Object Cache plugin. Sites using redis have one SQL database and another non-SQL storage server: redis. Other hosting providers offer memcached, which has the Memcached Object Cache plugin. And some large multipurpose cache plugins, such as the LiteSpeed Cache, also offer object caching based on one of those cache server software packages. The cache-server approach to object caching comes into its own when you have multiple load-balanced web server machines handling your site. SQLite doesn’t work correctly in a multiple-web-server environment. But, for single-server site configurations, SQLite, possibly assisted by APCu, performs well. And the vast majority of sites are single-server. APCu APCu is an in-memory storage medium. It lets php programs, like WordPress, store data in shared memory so it’s very fast to retrieve when needed. If APCu is available on your host server, you can configure this plugin to use it. It reduces the typical cache lookup time to one-fifth or less of the SQLite lookup time, which is itself a few tens of microseconds. Performance counts, especially on busy web sites. Please look at Installation to learn how to configure this plugin to use APCu. The plugin works fast without it, and faster with it. WP-CLI: Even if APCu is in use, caching with SQLite is necessary when your web site uses WP-CLI, because WP-CLI programs do not have access to the APCu cache. This plugin writes all cached data both to APCu and to SQLite and makes sure the two are synchronized. WP-CLI You can control this plugin via WP-CLI once you activate it. Please type this command into your shell for details. wp help sqlite-object-cache Credits Thanks to Till Krüss. His Redis Object Cache plugin serves as a model for this one. And thanks to Ari Stathopoulos and Jonny Harris for reviewing this. Props to Matt Jones for finding and fixing a bug that appeared on a heavily loaded system. Thanks to Massimo Villa for testing help, and to nickchomey for a comprehensive code review. All defects are, of course, entirely the author’s responsibility. And thanks to Jetbrains for the use of their software development tools, especially PhpStorm. It’s hard to imagine how a plugin like this one could be developed without PhpStorm’s tools for exploring epic code bases like WordPress’s. How can I learn more about making my WordPress site more efficient? We offer several plugins to help with your site’s database efficiency. You can read about them here.
Top keywords
- cache17×2.27%
- server12×1.60%
- apcu10×1.33%
- site10×1.33%
- wordpress10×1.33%
- object9×1.20%
- database7×0.93%
- object cache7×0.93%
- redis6×0.80%
- web6×0.80%
- caching5×0.67%
- offer5×0.67%
WP Compress – Instant Performance & Speed Optimization
WP Compress – Instant Performance & Speed Optimization Instantly speed up WordPress performance and stop slow load times from costing you sales, signups, and visitors. Load Faster, Rank Higher & Convert Better on Complete Autopilot Simply link your website and you’re good to go – with no maintenance required after setup. It’s really that easy. Instant Performance Boost for Your Website One-Click Smart Optimization: Simply link your website and run smart optimization for a boost in performance with no maintenance required. Easy to Use, Yet Infinitely Customizable: Tailor your site’s performance with customizable settings, page rules, and exclusions. Whether you prefer set-and-forget performance or hands-on control, WP Compress is built to fit your needs. Effortlessly Speed Up Mobile Websites: All performance tweaks provide specifically optimized versions, dedicated for mobile devices to instantly upgrade your mobile page speed and performance scores, which is critical in today’s mobile-first world. Key Features of WP Compress Advanced Caching: Unlock lightning-fast server responses, slash resource consumption, and avoid unnecessary hosting upgrades. CSS & JavaScript Optimization: Reduce page bloat and minimize code to load only the critical content, with no coding required. Perfect Image Technology: Slash file sizes and generate WebP images that intelligently adapt to look good and load fast on any device. Global CDN Delivery (Optional): Replicate your website’s content across the globe, for ultra-fast delivery to viewers anywhere, anytime. Smart Optimization + 24/7 Performance Monitoring: We’ll automatically keep your site optimized around the clock, ensuring peak performance for each and every incoming visitor. All-in-One WordPress Performance Plugin Enjoy one-click smart optimization for an instant performance upgrade, or customize settings, page rules and exclusions as you wish – either way, you’re in complete control. Set Up in Seconds, Optimized Forever WP Compress is pre-configured with one-click settings options right out of the box. Essential Performance Suite Get started using the essential performance suite, offering everything you need for a faster site, from one-click optimization to critical CSS improvements and lazy loading. Powerful Optimization Engine Real-Time image optimization, media library compression, and advanced optimizations for adaptive performance based on the incoming visitor. Agency Features for Professionals Agency access includes centralized management, detailed statistics, and custom branding, so you can take all of the credit for faster WordPress performance. PRECONFIGURED FOR YOU, YET EXTREMELY FLEXIBLE You’ll be good to go the moment you paste your access key into the WP Compress plugin. It comes pre-configured with what we think are the optimal and most supported settings – but feel free to play around! It’s really that simple and built for compatibility. Essential Performance Suite The basics for a faster website, without lifting a finger past setup. One-Click Smart Optimization Advanced Website Caching Critical CSS Optimizations JavaScript Code Optimization Improve Render Blocking Delay Unnecessary JavaScript Lazy Load Images Lazy Load Videos One-Click Performance Testing SmartPurge Technology WooCommerce Tweaks FontAwesome Tweaks Google Tag Manager Tweaks Other Performance Optimizations Frequent Updates Expert Support Powerful Optimization Engine Advanced optimization that automatically adapts based on the incoming visitor for our fastest load times across the entire globe! One-Click Smart Optimization Real-Time Image Optimization (Live) Media Library Compression (Traditional) Lossless, Intelligent & Ultra Compression Algorithms Adaptive Images (per device) Generate and Serve Next-Generation WebP Images Retina Device Support Over-Compression Prevention Optimize + Serve Images via CDN Optimize + Serve SVG via CDN Optimize + Serve CSS Assets via CDN Optimize + Serve JavaScript via CDN Optimize + Serve Fonts via CDN Support External URLs (Amazon S3 etc) Automated Image Resize Single Image Compression Single Image Restore from Cloud One-Click Bulk Optimization One-Click Bulk Restore Preserve EXIF Data Custom CDN Domains INCREDIBLE AGENCY FEATURES: Not only is the plugin great for speeding up individual websites, but the whitelabel add-on is fully loaded with industry-leading Agency features such as: Centralized Management Portal Monthly Quotas for Clients Remote Optimization Detailed Statistics (Per Site) Agency Statistics (Overview) Detailed Compression Reports Downloadable PDF Reports Send Monthly Email Reports MainWP Bulk Linking Extension Multisite Compatibility + Bulk Linking Plugin Hide from WordPress Admin Custom Branded Reports Custom CDN Domains Custom Branded Plugin Features Overview Ease of Use One-Click Performance: Instantly apply recommended or aggressive settings. Safe Mode: If at any point you want to revert or compare, simply toggle safe mode. Smart Optimization: Dynamic adjustments based on traffic and updates. Customizable Setup: Simple yet highly adaptable to different needs. Comprehensive Performance: Modular toggles for website speed optimization. Expert Support: Access to chat and ticket support for guidance. Performance Enhancements Caching and Optimization Advanced Cache: Total website caching for faster response times and reduced load. Real-Time Optimization: Automatically adapt content based on the incoming visitor. Script Optimization: Minify, combine, or delay scripts as needed. Cache Warmup: Preloads essential content for faster access. GZIP Compression: Compresses HTML for quicker load times. Global CDN Delivery: Ensures fast performance worldwide. Image and Media Management WebP Images: Utilizes next-gen image formats for quicker loads. Retina Device Support: Optimizes images for high-resolution displays. Media Library Compression: Reduces image file sizes without losing quality. Lazy Loading: Loads media files only when needed. Automatic Image Optimization: On upload for autonomous optimization. Resource Management Remove Unused JavaScript/CSS: Cleans up unnecessary code for faster load times. Font Optimization: Manages font loading for optimal performance. Smart Cache Purging: Automatically purge based on website or content updates. Prefetch DNS Connections: Speeds up domain name resolution for assets. External URL Support: Allow external urls such as S3, offloaded images and more. Administrative Tools Remote Management: Manage all of your websites from the centralized dashboard. Multisite Tools: Bulk linking and custom settings for network sites. Custom Client Quotas: Set specific limits for bandwidth and resources. UX Customization: Adjust plugin appearance and functionality. Sub-Account Management: Oversee client access and site control. Whitelabel Features Custom Branded Plugin: Add your logo, icon, branding and more to take the credit. Custom CDN Domains: Use your domain for global content delivery. Invisible Management: Hide the plugin in the WP admin area. Detailed Reporting: Automated PDF and email reports branded with your logo. Platform Integration Compatibility: Supports WordPress, WooCommerce, MultiSite, and more. MainWP Integration: Simplifies management across WordPress sites. Think of it as a fully managed solution, where you get to take the credit for faster loading client websites! We Always Have Your Back We’ve built all features as a toggle system, you can simply turn something on and if there are ever any conflicts or issues, simply toggle it off and everything will revert back to how it was. With millions of possible combinations, there are vast differences in environment from one WordPress website to the next. Whether it be plugins, themes, hosting permissions or server specifications – there’s a lot of variability. We also offer industry-leading live chat support with automatic ticket conversion. So if you ever have any questions, suggestions, or feature requests we’re here to help! Try it risk-free and see for yourself! Lower Bounce Rates Ultra-Fast Response Times Better First Impressions Reduced Resource Usage Increased Conversions How much does it cost? We believe that every website deserves to load faster! You can use our essential performance suite for free and add-on the optimization engine or agency features if you wish! View our prices and plans.