Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
Describe the bug
When using Rank Math with WP Super Cache, and the Rank Math SiteMap functionality is on, on any change on posts, pages or products ALL CACHE is clear, from all pages, posts and products.
I have a site with WP + Woocommerce, with +1000 products, and we preload cache all products pages without refreshing (unless they have changes), and any time one of the products is edited, all products and pages caches are clear since we install Rank Math.
If we disable Rank Math Sitemap, all works fine again.
I tested this also in a blank new fresh wordpress instalation and the problem is the same.
To Reproduce
Steps to reproduce the behavior:
1. Install Wordpress2. Install Woocommerce. Load sample products.
3. Install Rank Math. Functionalities enabled: Analytics / Instant Indexing / Content AI / Link Counter / SEO Analysis / Sitemap / Local Seo /Schema / Woocommerce
4. Install Wp Super Cache. Settings:
CACHE SIMPLE + Enable caching for all visitors. / Dont Cache pages with GET parameters / Compress pages / Cache rebuild
Cache Location: "WP_CONTENT_DIR . /cache/
Don´t cache: Archives (is_archive) - Tags (is_tag) - Category (is_category) - Feeds (is_feed) - Search Pages (is_search) - Author
Pages (is_author)
Preload mode on: Refresh preloaded cache files every 0 minutes.
Using Twenty Twenty and Storefront theme he have the same results.
Expected behavior
The expected behavior is when some post/page/product is edited or created, just that post/page/product is clear from cache, and the sitemap updated.
image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 40M
upload_max_filesize: 40M
max_effective_size: 40 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available
Describe the bug When using Rank Math with WP Super Cache, and the Rank Math SiteMap functionality is on, on any change on posts, pages or products ALL CACHE is clear, from all pages, posts and products.
I have a site with WP + Woocommerce, with +1000 products, and we preload cache all products pages without refreshing (unless they have changes), and any time one of the products is edited, all products and pages caches are clear since we install Rank Math.
If we disable Rank Math Sitemap, all works fine again.
I tested this also in a blank new fresh wordpress instalation and the problem is the same.
To Reproduce Steps to reproduce the behavior: 1. Install Wordpress 2. Install Woocommerce. Load sample products. 3. Install Rank Math. Functionalities enabled: Analytics / Instant Indexing / Content AI / Link Counter / SEO Analysis / Sitemap / Local Seo /Schema / Woocommerce 4. Install Wp Super Cache. Settings: CACHE SIMPLE + Enable caching for all visitors. / Dont Cache pages with GET parameters / Compress pages / Cache rebuild Cache Location: "WP_CONTENT_DIR . /cache/ Don´t cache: Archives (is_archive) - Tags (is_tag) - Category (is_category) - Feeds (is_feed) - Search Pages (is_search) - Author Pages (is_author) Preload mode on: Refresh preloaded cache files every 0 minutes.
Using Twenty Twenty and Storefront theme he have the same results.
Expected behavior The expected behavior is when some post/page/product is edited or created, just that post/page/product is clear from cache, and the sitemap updated.
Additional context `
wp-core
version: 5.9.3 site_language: es_AR user_language: en_US timezone: America/Argentina/Buenos_Aires permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: false multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true
wp-paths-sizes
wordpress_path: C:\xampp\htdocs\cache wordpress_size: 53,07 MB (55652813 bytes) uploads_path: C:\xampp\htdocs\cache/wp-content/uploads uploads_size: 3,65 MB (3823856 bytes) themes_path: C:\xampp\htdocs\cache/wp-content/themes themes_size: 13,74 MB (14406748 bytes) plugins_path: C:\xampp\htdocs\cache/wp-content/plugins plugins_size: 41,73 MB (43758191 bytes) database_size: 4,94 MB (5177344 bytes) total_size: 117,13 MB (122818952 bytes)
wp-dropins (1)
advanced-cache.php: true
wp-active-theme
name: Storefront (storefront) version: 4.1.0 author: Automattic author_website: https://woocommerce.com/ parent_theme: none theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, automatic-feed-links, custom-logo, menus, html5, custom-background, custom-header, site-logo, title-tag, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-font-sizes, editor-style, responsive-embeds, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, starter-content, widgets theme_path: C:\xampp\htdocs\cache/wp-content/themes/storefront auto_update: Disabled
wp-themes-inactive (3)
Twenty Twenty: version: 1.9, author: the WordPress team, Auto-updates disabled Twenty Twenty-One: version: 1.5, author: the WordPress team, Auto-updates disabled Twenty Twenty-Two: version: 1.1, author: the WordPress team, Auto-updates disabled
wp-plugins-active (3)
Rank Math SEO: version: 1.0.86.1, author: Rank Math, Auto-updates disabled WooCommerce: version: 6.3.1, author: Automattic, Auto-updates disabled WP Super Cache: version: 1.7.7, author: Automattic, Auto-updates disabled
wp-plugins-inactive (2)
Akismet Anti-Spam: version: 4.2.2, author: Automattic, Auto-updates disabled Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
wp-media
image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 40M upload_max_filesize: 40M max_effective_size: 40 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: not available
wp-server
server_architecture: Windows NT 10.0 AMD64 httpd_software: Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.8 php_version: 7.4.8 64bit php_sapi: apache2handler max_input_variables: 1000 time_limit: 120 memory_limit: 512M max_input_time: 60 upload_max_filesize: 40M php_post_max_size: 40M curl_version: 7.70.0 OpenSSL/1.1.1g suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: false
wp-database
extension: mysqli server_version: 10.4.13-MariaDB client_version: mysqlnd 7.4.8 max_allowed_packet: 1048576 max_connections: 151
wp-constants
WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: C:\xampp\htdocs\cache/wp-content WP_PLUGIN_DIR: C:\xampp\htdocs\cache/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined
wp-filesystem
wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
`