Getting Started

Deployment Deployment - Diagnose Migrations Staging

Site Management

Backups Client Reporting Passwords Plugin Automation Plugin Management - Global Plugins & Themes - Diagnose Plugins & Themes - General Plugins & Themes - Git Plugins & Themes - Logs Must Install White Label WordPress Updates

Caching & Performance

Caching Caching - Blogs/Articles Caching - Diagnose Caching - Git Caching - WooCommerce Redis Optimize & Scale

Security

Security Security - Firewall

SMTP, CDN & DNS

SMTP SendGrid CDN CDN - AWS CDN - Cloudflare CDN - Diagnose Domains & DNS

Server & Tools

Analytics & Logs CRON Jobs Database Debug Tool Git Monitoring PHP Settings Redirects SEO Tools Server Errors sFTP SSL

Staq Billing

Staq Billing > Account Staq Billing > Client Staq Billing > Setup

Media

Media Media - Diagnose Media - Optimize

Accounts & Billing

Accounts & Billing

General

WordPress Hosting Website Diagnose Troubleshoot - Other

How does Redis Object Cache work on Staq


On this page

    Redis Object Cache is a significant component in enhancing the performance of websites hosted on Staq, particularly dynamic sites, membership platforms, and WooCommerce stores. Let’s delve into what Redis is, how it benefits your website, and the recent improvements we’ve made to its implementation on Staq.

    Understanding Redis

    What is Redis? Redis is an advanced key-value store, renowned for its speed and efficiency. It’s an in-memory data structure store, used as a database, cache, and message broker. Redis significantly improves website performance by storing data in memory, which can be accessed much faster than from disk-based databases.

    Benefits of Redis for Dynamic and E-commerce Sites

    • Speeds Up Dynamic Content: Redis is particularly beneficial for dynamic sites, where content changes frequently and requires quick loading times.
    • Enhances E-commerce Performance: For WooCommerce sites, Redis optimizes database queries, making product searches, add-to-cart functions, checkouts, and page loading faster.
    • Improves User Experience: Membership sites benefit from Redis through faster session management and data retrieval, enhancing overall user interaction.

    Recent Improvements to Redis on Staq

    PhpRedis Integration

    • Efficiency in C Language: We’ve transitioned to using PhpRedis, built in C language, for its inherent efficiency in processing and handling data.
    • Advanced Features: PhpRedis supports advanced features like serialization and compression, leading to more efficient data handling.

    Serialization and Compression

    • Optimized Data Handling: With PhpRedis, we now implement ZSTD compression and igbinary serialization, greatly reducing the size of stored data. This results in significantly improved performance, especially noted with compression rates as high as 94% in certain scenarios.

    Cache Optimization Strategies

    • Not-Found Entries: We’ve introduced an internal cache for ‘not-found’ keys to reduce unnecessary Redis queries. This prevents repeated checks for keys that don’t exist, reducing the load on the system.
    • Dynamic Updating: Our system dynamically responds to ‘SET’ operations, ensuring that any changes are immediately reflected, keeping data accurate and up-to-date.

    Enhanced Staq Database Query Monitoring

    • Rich Debugging Information: The upgraded query monitor in Staq now provides more detailed data, making the debugging process more insightful when it comes to diagnosing slow database queries. This is accessible inside Staq Hosting plugin on the WordPress site and then click Advanced > Monitor. Alternatively, you can see this guide on how to diagnose slow database queries with our tool.

    Conclusion

    Redis Object Cache on Staq represents a leap forward in managed hosting for WordPress. By optimizing Redis, we’ve ensured that your dynamic, membership, or WooCommerce site operates at peak efficiency, providing an optimal experience for your users.

    Need some help?

    We all do sometimes. Please reach out to our support team by dropping us a support ticket. We will respond fast.