The Elementor Website Builder has it all: drag and drop page builder, pixel perfect design, mobile responsive editing,…
About WP Fastest Cache
WP Fastest Cache is a WordPress plugin designed to speed up websites by caching content and optimizing performance. It offers features such as page caching, minification of HTML and CSS, Gzip compression, browser caching, and more. The premium version includes additional features like Mobile Cache, Widget Cache, image optimization, and lazy loading for even faster load times.Screenshots


















Frequently asked questions
What is WP Fastest Cache?
WP Fastest Cache is a WordPress cache plugin developed by Emre Vona to speed up WordPress sites. It uses Mod_Rewrite, which is the fastest caching method.
How does WP Fastest Cache improve website performance?
It optimizes website performance, which can improve Google PageSpeed, Core Web Vitals, GTmetrix, and Pingdom scores. This also helps improve SEO rankings as page speed is a ranking factor in Google's search algorithm.
What are some key features of WP Fastest Cache?
Key features include automatic deletion of cache files when a post or page is published, manual deletion of cached files and minified CSS/JS, and cache timeout options. It also supports SSL, CDN integration (including Bunny CDN and Cloudflare), and offers options to enable/disable cache for mobile devices and logged-in users.
Does WP Fastest Cache support CDN and Cloudflare?
Yes, WP Fastest Cache supports CDN integration, allowing static resources to be served from providers like Bunny CDN and Cloudflare. Cloudflare integration also triggers cache clearing via API when a cache purge is initiated.
Changelog
1.5.5
- Added path validation to singleDeleteCache() and delete_next_prev_cache() to prevent directory traversal through percent-encoded URLs before cache paths are deleted
- Fixed: Google Analytics campaign parameters (utm_source, utm_medium, utm_campaign, utm_term, and utm_content) not being served from the main page cache via .htaccess
- Fixed: The Google Analytics exclusion rule not being added to the Start WPFC Exclude section in .htaccess
- Added Google Ads query parameter support for cache serving and page exclusion
- Fixed: XML cache files are now served directly via .htaccess instead of being served through PHP
- Fixed: Exclude Pages “Contains” rule not matching query string parameters in URLs
- Refactored cache purge handling to reduce duplicated Varnish and Cloudflare logic
- Refactored cache deletion logic by centralizing desktop and mobile cache path cleanup
- Improved WooCommerce product cache clearing for WPML translations
- Reverted: Prevent caching responses that include private or non-cacheable HTTP headers, including Cache-Control: no-store, private, no-cache, expired Expires, and Set-Cookie
1.5.4
- Fixed: The plugin language selector now works independently of the WordPress site language
- to update the translations
- Removed unused static assets
- Preserve the Security tab when navigating its links by keeping #wpfc-security in the URL
- [FEATURE] Added the WPFC_CACHE_QUERYSTRING_PARAMS constant to cache allowlisted query-string URLs separately [Details]
- Fixed: Prevented sitemap preload from saving an empty sitemap list when no child sitemaps could be extracted
- Fixed: Incorrect term totals for custom taxonomies in preload
- [FEATURE] Preloading for paginated home, category, tag and custom taxonomy archive pages
- Test CDN connectivity using the active theme’s style.css URL instead of the CDN URL alone
- Security Tool: Added detection and blocking for ICEcoder terminal command injection attempts
- Security Tool: Added detection and blocking for React2Shell
- Security Tool: Added detection and blocking for Oversized POST Parameter Attacks
- Fixed: Deleting an IP from Security Center now removes all associated child log entries along with the parent record, preventing orphaned security logs
- Fixed: Prevented unnecessary cache clearing when Flamingo saves contact form submissions as posts
- Prevent caching of WordPress activation pages (wp-activate.php) by excluding activation requests based on both the request URL and WordPress’s current page context
- Skip cache generation during WordPress installation and for requests carrying activation-related cookies (wp-activate-*)
- Prevent caching responses that include private or non-cacheable HTTP headers, including Cache-Control: no-store, private, no-cache, expired Expires, and Set-Cookie
1.5.3
- [FEATURE] Added an Exclude Pages rule to exclude URLs containing Facebook Click ID (fbclid) parameters from cache
- Updated Yandex parameter handling to include etext, alongside yclid, yadclid, ymclid, ysclid, yzclid, yqrid, and ybaip
- [FEATURE] Added the Security tool to help protect your site from malicious scans, brute-force attacks, SQL injection attempts, XSS, path traversal attacks and other suspicious activity [Details]
- Fixed: The active settings tab now stays selected after a page refresh, and its change handlers run when restored
- Updated the .htaccess admin cookie exclusion rules only when the affected user is an administrator
- Added handling for deleted administrator accounts so their exclusion rules are refreshed after deletion.
- Added locking and safer file replacement when updating .htaccess, and skip writes when the file cannot be read, the marker is missing, or the content is unchanged
1.5.2
- Security Enhancements
- Allow Author role and above for the Auto Cache feature
- [FEATURE] Added support for clearing the cache by URL [Details]
- Fixed: Incorrect cache expiration header configuration
- Added manage_options capability checks to Varnish cache AJAX actions, preventing unauthorized users from modifying, pausing, resuming, removing, or purging Varnish cache settings
- Added administrator-only access checks for specific page cache actions, preventing unauthorized users from viewing, adding, or removing cache-clearing rules
1.5.1
- [Improvement] Validates Polylang domain mappings against an allowlist to prevent security risks
- [Improvement] Added protection against feed cache poisoning via query string parameters
- Prevent caching URLs that contain query strings
1.5.0
- Fixed: Replaced the non-standard text/js MIME type with a valid JavaScript content type for missing minified JS file responses
- Fixed: Resolved an issue where the preload tool could fail while processing the sitemap.
1.4.9
- Tested and confirmed full compatibility with WordPress 7.0 to ensure smooth and reliable plugin performance
1.4.8
- to fix PHP Warning: unlink(), scandir(), rmdir() No such file or directory in wpFastestCache.php on lines 2285, 2291, 2294
- Added regex support to the cookie exclude feature
- Added protection to block null byte injection attempt
1.4.7
- to fix E_WARNING: scandir(): No such file or directory in wpFastestCache.php on line 2208 and 2227
- [Improvement] Enhanced exclude rules processing with safe regex support, added protection against regex injection, proper HTML entity decoding, and more precise matching in generated .htaccess rules
1.4.6
- [Improvement] Elementor element cache and CSS Print Method detection logic [Details]
1.4.5
- Sanitized the cache file path by trimming whitespace
- [Improvement] Elementor element cache and CSS Print Method detection logic [Details]
1.4.4
- Updated caching behavior to serve URLs with Google Ads Click & Conversion Parameters query strings (e.g., /?gbraid) from the cache, improving performance
1.4.3
- Tested and confirmed full compatibility with WordPress 6.9 to ensure smooth and reliable plugin performance
1.4.2
- [Improvement] Updated the function modifying for url() paths in CSS
- [Improvement] Enhanced the <pre> tag replacement logic for more accurate matching and reliable content updates
1.4.1
- Added display of orphaned post meta, comment meta, user meta, term meta, and term relationship counts
- Added nonce verification and capability checks to the wpfc_db_fix AJAX action to prevent unauthorized database cleanup requests
- Added a validation to ensure Elementor’s CSS Print Method is set to “Internal Embedding,” displaying an error with a help link if misconfigured [Details]
1.4.0
- Fixed: support both old (elementor_experiment-e_element_cache) and new (elementor_element_cache_ttl) Elementor cache options for compatibility
1.3.9
- [Improvement] Replaced manual <script> output in print_my_inline_script() with wp_print_inline_script_tag() for better compatibility and cleaner code
- Fixed: RewriteCond syntax to correctly detect HTTPS connections
1.3.8
- Added a condition to exclude <script type=”module”> tags from js combining
- Fixed: Issue where the cache was not being cleared when a page was deleted
- Fixed: PHP fatal error caused by an undefined function current_datetime() in cache.php on line 1130
- Added support for fetching and processing multiple pages of Cloudflare zones to ensure all potential matches are considered
1.3.7
- [Improvement] Serve cached content via .htaccess rules instead of PHP when URLs include the fbclid query string
- [FEATURE] Added support for Spanish (Chile) and Ukrainian languages
- to update translation files
- to fix PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in cdn.php:383
- [Improvement] Added specific handling for BunnyCDN 403 errors
1.3.6
- Prevented unnecessary cache deletion for pending comments marked as spam or moved to trash
- Updated caching behavior to serve URLs with Google Merchant Center query strings (e.g., /?srsltid) from the cache, improving performance
1.3.5
- Updated cache creation time display to follow WordPress date and time format settings
- Removed the ‘Static CSS File Generation’ warning when using the Divi theme.
1.3.4
- to fix PHP Fatal error: Class “VarnishWPFC” not found in preload.php
- to fix Undefined property: stdClass::$total in preload.php on line 753
1.3.3
- [Improvement] Toolbar style adjusted to align with WordPress standard for better consistency and user experience
- to change the cache path for the Polylang-Pro plugin
- [Improvement] Modified the toolbar menu of WP Fastest Cache plugin to improve usability and navigation
- [FEATURE] Added a filter that allows users to easily remove the WP Fastest Cache menu from the admin toolbar [Details]
1.3.2
- [Improvement] Added a new action to handle the addition of keyword items in the Preload Wizard
- Corrected typos in the Cloudflare CDN integration wizard and in the DB tab
- [FEATURE] Added a filter to define the token for preload functionality [Details]
1.3.1
- [FEATURE] Added a filter that allows users to easily remove the cache creation comment from the footer [Details]
- [Improvement] Added a warning notification to alert users if the “Element Caching” option in the Elementor plugin is not inactive [Details]
- Refactored
remove_url_parameters()for improved efficiency - Fix issue: Logic to determine the $number variable based on the WPFC_PRELOAD_NUMBER constant for preload when a sitemap is used
1.3.0
- Prevent caching of 403 Forbidden error pages
- Fix issue: Exclude JS files with the “data-no-minify” attribute from the combining process
- Fixed PHP Notice: Undefined index: HTTP_HOST in wpFastestCache.php on line 489
1.2.9
- Refactored ‘Clear Cache via URL’ feature
- Added feature to clear post cache triggered via URL [Details]
1.2.8
- refactoring for CSS minification feature
- refactoring for Cloudflare Integration
- to update translation files
1.2.7
- to fix the issue of backslashes being removed in the <pre> tag after minifying HTML
1.2.6
- refactoring for getABSPATH()
- to prevent clearing cache after deleting coupon which was created by YITH WooCommerce Coupon Email System Premium
- to check the REDIRECT_QUERY_STRING for the gtranslate plugin
1.2.5
- to fix the creation of cache for URLs that end with .xml
- to use the native WordPress function current_time() instead of the date() function
- refactoring the purge_cache() function of Varnish Cache
1.2.4
- refactoring for getABSPATH()
- to fix PHP Deprecated: Creation of dynamic property CssUtilities::$url is deprecated in css-utilities.php on line 348
- to fix PHP Deprecated: Creation of dynamic property CssUtilities::$url_for_fix is deprecated in css-utilities.php on line 412
- to remove duplicate extensions in the <FilesMatch> directive for the browser caching feature
1.2.3
- Farewell, StackPath, and a warm welcome to BunnyCDN
- to update translation files
- to exclude script element from minification when data-no-minify attribute is set
- [FEATURE] to add Slovenian language
- refactroning of specificDeleteCache()
1.2.2
- Security Enhancements
- to update translation files
1.2.1
- refactroning of the condition that was added for Divi theme
- [FEATURE] Add a hook system for creating a post cache by id [Details]
- to fix the issue of obtaining the latest version of the sitemap after a restart
- to check if the intl extension is available for Cloudflare integration
- to fix Warning: Undefined property: stdClass::$zone_id in cdn.php on line 227
1.2.0
- to make the Preload feature to be compatible with Sitemap Index
- to hide the premium tab for the premium users
- to show warning if the Static CSS File Generation option of Divi theme is enabled
- to update translation files
- to fix PHP Warning: Undefined array key “sitemaps” in preload.php on line 62
- to change the cache path for the Polylang-Pro plugin
- to check if the buffer has only one line (no line breaks)
- refactoring of checkHtml()
- to check that Cookie Notice & Compliance for GDPR / CCPA is active or not
1.1.9
- to add gear button for the preload feature
- to remove image urls for sitemap preload
- to fix PHP Deprecated: Required parameter in preload.php on line 576
- [FEATURE] Moving the menu item under the settings menu [Details]
- to fix Warning: Undefined array key “action” in wpFastestCache.php on line 378 and 395
1.1.8
- [FEATURE] to add Sitemap option for the preload feature [Details]
- to update translation files
- to fix PHP Warning: Attempt to read property “term_taxonomy_id” on bool in wpFastestCache.php on line 1638
1.1.7
- to change the cache path for the Polylang plugin
- [FEATURE] to add Korean (Korea) language
- to update translation files
- refactoring of is_amp()
- to replace empty char which exist in the admin cookie with %20 for RewriteCond
1.1.6
- to update translation files
- to fix problem that the first js source is not able to be excluded
- refactoring of set_cache_file_path()
- refactoring of Buffer Callback Filter [Details]
1.1.5
- to replace wp_remote_get() with wp_safe_remote_get() in the check_url() function
- to update translation files
- to fix PHP Warning: Undefined array key “roles” in wpFastestCache.php on line 962
- to remove multiple slashes from url
- to fix PHP Warning: Attempt to read property “wpFastestCacheLanguage” on array in admin.php on line 23
1.1.4
- to check trailing slash for query string cache
- refactoring process of clearing homepage cache by cache timeout
1.1.3
- to change translation system [Details]
- refactoring of delete_author_page_cache()
- to add Czech, Dutch (Belgium), Galician, Hungarian, Indonesian, Japanese, Persian, Spanish (Colombia), Spanish (Ecuador), Spanish (Ecuador), Spanish (Venezuela), Spanish (Argentina), Spanish (Mexico) translations
- to enable the toolbar settings wizard for the Multisite installation [Details]
- to fix low level vulnerability
1.1.2
- to clear cache of next/prev posts after updating or publishing a post
- to fix E_WARNING: file_get_contents(): No such file or directory in admin.php on line 377
- [FEATURE] Added ability to disable hook system [Details]
- to fix PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in preload.php on line 546
- to fix Notice: Constant WPFC_CACHE_QUERYSTRING already defined
1.1.1
- [FEATURE] Varnish Cache Integration [Details]
- to fix E_WARNING: unlink(): No such file or directory in wpFastestCache.php on line 1530
1.1.0
- to show cache if the url contains a parameter of Yandex Click Identifier
- [FEATURE] Excluding Yandex Click Identifier [Details]
- [FEATURE] Adding “Regular Expression” option for the Exclude Pages feature [Details]
1.0.9
- to improve the style of exclude feature wizard
- to fix hiding the toolbar when logged in
- to fix PHP Notice: Undefined offset: -1 in js-utilities.php on line 67
- to fix PHP Fatal error: Uncaught Error: Non-static method cannot be called statically in clearing-specific-pages.php on line 58
1.0.8
- to stop showing the “DONOTCACHEPAGE is defined as TRUE” comment in the footer for the ajax requests
- [FEATURE] Clearing Specific Pages [Details]
- to fix the site url on the exclude page
- to fix PHP Notice: Function WP_User_Query::query was called incorrectly. User queries should not be run before the plugins_loaded hook
1.0.7
- [FEATURE] Clearing Specific Pages (BETA) [Details]
- to add last-modified header when cache is served via php
1.0.6
- to serve sources via cdn for excluded pages if cdn is enabled
- to fix PHP Notice: Undefined offset: -1 in js-utilities.php on line 48
1.0.5
- to fix E_NOTICE: Undefined variable: path in wpFastestCache.php on line 2142
- to add excluding feature for Buffer Callback Filter [Details]
1.0.4
- to add avif extensions for cdn
- to add WPFC_SERVE_ONLY_VIA_CACHE [Details]
1.0.3
- Photon will no longer be supported [Details]
- to exclude category url for preload if any error occurs
1.0.2
- to add WP-CLI command for clearing cache of a post [Details]
- to fix Warning scandir() at wpFastestCache.php:302
- to fix Warning file_put_contents(/cache/wpfc-minified/index.html) at cache.php:1090
- to fix Warning unlink(wp-cache-config.php) admin.php:885
1.0.1
- to clear only cache of post/page even if the “update post” option is disabled
1.0.0
- to define the save_settings() function of single preload feature as static function
EARLIER VERSIONS
For the changelog of earlier versions, please refer to [the changelog on wpfastestcache.com]