WePH Quick Cache
Complete performance optimization plugin for WordPress
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mrshafaq/weph-quick-cache/archive/refs/heads/main.zipA comprehensive WordPress performance optimization plugin designed to speed up WordPress and Elementor websites through Gzip compression, CSS/JS/HTML minification, browser caching, and more.
Features
Core Optimization Features
-
Gzip Compression
- Automatically compresses HTML, CSS, and JavaScript files
- Reduces bandwidth usage by up to 70%
- Improves page load times significantly
-
File Minification
- HTML Minification: Removes whitespace and comments from HTML output
- CSS Minification: Compresses CSS files by removing unnecessary characters
- JavaScript Minification: Reduces JS file sizes while preserving functionality
- Smart caching system to avoid re-minifying unchanged files
-
Browser Caching
- Sets optimal cache headers for static resources
- Configures cache expiration for different file types
- Leverages browser caching to reduce server requests
-
Image Optimization
- Lazy loading for images
- Loads images only when they enter the viewport
- Improves initial page load time
- WebP Conversion: Automatic JPG/PNG to WebP conversion (25-35% smaller!)
- Browser detection for WebP support
-
Font Optimization ⭐ NEW
- Local Google Fonts: Download and host Google Fonts locally
- Eliminates external requests to Google servers
- Improves GDPR compliance
- Faster font loading (no DNS lookup, no external connection)
- Automatic caching (30 days)
- Works with any theme or page builder
-
JavaScript Optimization
- Defers non-critical JavaScript
- Excludes jQuery and critical scripts from deferring
- Reduces render-blocking resources
-
Advanced Optimizations
- Remove query strings from static resources
- Disable WordPress emoji scripts
- Clean up unnecessary HTTP requests
- Optimized for Elementor websites
Installation
Method 1: Manual Installation
- Download the plugin files
- Upload the
weph-quick-cachefolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Go to 'Quick Cache' in the admin menu to configure settings
Method 2: Upload via WordPress Admin
- Go to WordPress Admin → Plugins → Add New
- Click 'Upload Plugin'
- Choose the
weph-quick-cache.zipfile - Click 'Install Now'
- Activate the plugin
Configuration
Initial Setup
- Navigate to Quick Cache in your WordPress admin menu
- Review the default settings (all optimizations are enabled by default)
- Adjust settings based on your needs
- Click Save Settings
- Click Clear All Cache to start fresh
Recommended Settings
For most WordPress and Elementor sites, we recommend:
- ✅ Enable Gzip Compression: ON
- ✅ Browser Caching: ON
- ✅ Lazy Load Images: ON
- ✅ WebP Conversion: ON ⭐
- ✅ Local Google Fonts: ON ⭐
- ✅ Enable Minification: ON
- ✅ Minify HTML: ON
- ✅ Minify CSS: ON
- ✅ Minify JavaScript: ON
- ✅ Defer JavaScript Loading: ON
- ✅ Remove Query Strings: ON
- ✅ Disable WordPress Emojis: ON
- ✅ DNS Prefetch: ON
For Elementor Users
If you're using Elementor, make sure to:
- Go to Elementor → Settings → Features
- Disable "Improved Asset Loading" (to prevent conflicts)
- Clear Elementor cache after configuring WePH Quick Cache
Usage
Clearing Cache
After making changes to your site or updating content:
- Go to Quick Cache in admin menu
- Click the Clear All Cache button
- This will delete all minified files and force regeneration
Monitoring Performance
The admin dashboard shows:
- Cached Files: Total number of minified files
- Cache Size: Total disk space used by cache
- CSS Files: Number of minified CSS files
- JS Files: Number of minified JavaScript files
Testing Your Site
After enabling optimizations:
- Clear all caches (plugin + browser cache)
- Test your website thoroughly
- Check all interactive elements and forms
- Verify Elementor widgets work correctly
- Test on different browsers and devices
File Structure
weph-quick-cache/
├── weph-quick-cache.php # Main plugin file
├── includes/
│ ├── class-minifier.php # Minification logic
│ ├── class-cache-manager.php # Cache management
│ └── admin-page.php # Admin interface
├── assets/
│ ├── admin.css # Admin styles
│ └── admin.js # Admin scripts
└── README.md # Documentation
Cache Directory
Cached files are stored in:
/wp-content/cache/weph-quick-cache/
├── css/ # Minified CSS files
├── js/ # Minified JavaScript files
├── fonts/ # Local Google Fonts (CSS + font files)
└── html/ # Cached HTML pages
.htaccess Rules
The plugin automatically adds optimization rules to your .htaccess file:
- Gzip compression for text-based files
- Browser caching headers for static resources
- Cache expiration times for different file types
These rules are automatically removed when the plugin is deactivated.
Performance Tips
- Use a CDN: Combine WePH Quick Cache with a CDN for maximum performance
- Optimize Images: Use image optimization plugins alongside this plugin
- Database Optimization: Regularly clean up your database
- Choose Good Hosting: Fast hosting is essential for good performance
- Keep WordPress Updated: Always use the latest WordPress version
- Limit Plugins: Only use necessary plugins
Troubleshooting
JavaScript Not Working
If JavaScript breaks after enabling minification:
- Disable "Minify JavaScript" temporarily
- Identify the problematic script
- Report the issue or exclude specific scripts
CSS Styling Issues
If styles appear broken:
- Clear all caches (plugin, browser, CDN)
- Disable "Minify CSS" to test
- Check for conflicts with other optimization plugins
Elementor Editor Issues
If Elementor editor has problems:
- Clear Elementor cache: Elementor → Tools → Regenerate CSS & Data
- Ensure "Improved Asset Loading" is disabled in Elementor settings
- Clear WePH Quick Cache
Site Performance Not Improving
- Test with a performance tool (GTmetrix, PageSpeed Insights)
- Check if .htaccess rules were added correctly
- Ensure Gzip is supported by your server
- Verify browser caching is working
Compatibility
- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Servers: Apache, Nginx (with proper configuration)
- Page Builders: Elementor, Gutenberg, and most popular builders
- Themes: Compatible with most WordPress themes
Best Practices
- Backup First: Always backup your site before installing
- Test Changes: Test on staging before production
- Clear Cache: Clear cache after every change
- Monitor: Keep an eye on cache size
- Update Regularly: Keep the plugin updated
Support
For support, feature requests, or bug reports:
- Email: support@mrshafaq.com
Changelog
Version 1.2.0
- Added Local Google Fonts hosting
- Improved performance for font loading
- GDPR compliance for Google Fonts
- Better caching strategy
- Enhanced WebP conversion
Version 1.1.0
- Fixed performance degradation issue
- Added WebP automatic conversion
- Added smart caching system
- Added DNS prefetch
- Improved minification strategy
- Skip processing for logged-in users
Version 1.0.0
- Initial release
- Gzip compression
- HTML/CSS/JS minification
- Browser caching
- Lazy loading
- JavaScript deferring
- Query string removal
- Emoji script removal
License
This plugin is licensed under the GPL v2 or later.
Credits
Developed by WePH Team
Note: Always test the plugin on a staging site before deploying to production. While we've tested extensively, every WordPress site is unique and may react differently to optimization.
Releases
3 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.