Support » Plugin: W3 Total Cache » cart item deletion behaviour

  • I have inconsistent behaviour with item deletion from the cart when W3TC is enabled.
    Enfold theme (compression and merging enabled), in W3TC cart is excluded from page cache.
    WooCommerce settings according to:
    https://docs.woocommerce.com/document/configuring-caching-plugins/

    Without W3TC active the “delete item from cart” behaviour is fine with both “delete item with X” and “set quantity to 0”, the page auto-refreshes.

    But when I enable W3TC, then deleting the product with the “X” does not auto-refresh the page, but manual page refresh is needed.
    Removing the product by setting quantity to 0 works fine however.
    Strange thing is: in IE it does work as intended, but in FF, Opera, Chrome it doesn’t…

    Do you have any ideas as to what could be causing this?
    Thanks in advance for your help.

    • This topic was modified 1 month, 3 weeks ago by  rdc2701. Reason: corrected browser cache, should be page cache
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,
    Can you please share the URL so we can check this?
    Have you tried to disable the settings one by one and see which one is causing this?

    Hi Marko,
    Thanks for the response. This is a staging site (password protected), so I cannot share the URL publicly. It is behind a reverse proxy however, so I can give you a temporary admin login URL without pw, but I cannot share it here in the public section. How can I give that to you? Let me know.
    Yes, I did try disabling settings one by one but doesn’t seem to make any difference.
    Regards,
    Rob

    • This reply was modified 1 month, 3 weeks ago by  rdc2701.
    • This reply was modified 1 month, 3 weeks ago by  rdc2701.
    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,
    Have you excluded all pages from being cached?
    i.e.
    /cart/
    /shop/
    /checkout/
    Also, have you added mfunc to ignored comment stems filed, and added _wc_session_ to “Ignored query stems:” in Performance>Databse Cache? (the last one should be automatically added in the latest release)

    Hi,
    Yes to all 🙂

    I will attach the settings json:

    {
        "version": "0.9.7.3",
        "cluster.messagebus.debug": false,
        "cluster.messagebus.enabled": false,
        "cluster.messagebus.sns.region": "",
        "cluster.messagebus.sns.api_key": "",
        "cluster.messagebus.sns.api_secret": "",
        "cluster.messagebus.sns.topic_arn": "",
        "dbcache.configuration_overloaded": false,
        "dbcache.debug": "0",
        "dbcache.enabled": "1",
        "dbcache.engine": "file",
        "dbcache.file.gc": "3600",
        "dbcache.file.locking": false,
        "dbcache.lifetime": "180",
        "dbcache.memcached.persistent": true,
        "dbcache.memcached.aws_autodiscovery": false,
        "dbcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "dbcache.memcached.username": "",
        "dbcache.memcached.password": "",
        "dbcache.redis.persistent": true,
        "dbcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "dbcache.redis.password": "",
        "dbcache.redis.dbid": 0,
        "dbcache.use_filters": false,
        "dbcache.reject.constants": [
            "APP_REQUEST",
            "DOING_CRON",
            "DONOTCACHEDB",
            "SHORTINIT",
            "XMLRPC_REQUEST"
        ],
        "dbcache.reject.cookie": [],
        "dbcache.reject.logged": "1",
        "dbcache.reject.sql": [
            "gdsr_",
            "wp_rg_",
            "_wp_session_",
            "_wc_session_"
        ],
        "dbcache.reject.uri": [
            ""
        ],
        "dbcache.reject.words": [
            "^\\s*insert\\b",
            "^\\s*delete\\b",
            "^\\s*update\\b",
            "^\\s*replace\\b",
            "^\\s*create\\b",
            "^\\s*alter\\b",
            "^\\s*show\\b",
            "^\\s*set\\b",
            "\\bautoload\\s+=\\s+'yes'",
            "\\bsql_calc_found_rows\\b",
            "\\bfound_rows\\(\\)",
            "\\bw3tc_request_data\\b"
        ],
        "objectcache.configuration_overloaded": false,
        "objectcache.enabled": "1",
        "objectcache.debug": "0",
        "objectcache.enabled_for_wp_admin": true,
        "objectcache.fallback_transients": true,
        "objectcache.engine": "file",
        "objectcache.file.gc": 3600,
        "objectcache.file.locking": false,
        "objectcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "objectcache.memcached.persistent": true,
        "objectcache.memcached.aws_autodiscovery": false,
        "objectcache.memcached.username": "",
        "objectcache.memcached.password": "",
        "objectcache.redis.persistent": true,
        "objectcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "objectcache.redis.password": "",
        "objectcache.redis.dbid": 0,
        "objectcache.groups.global": [
            "users",
            "userlogins",
            "usermeta",
            "user_meta",
            "site-transient",
            "site-options",
            "site-lookup",
            "blog-lookup",
            "blog-details",
            "rss",
            "global-posts"
        ],
        "objectcache.groups.nonpersistent": [
            "comment",
            "counts",
            "plugins"
        ],
        "objectcache.lifetime": 180,
        "objectcache.purge.all": false,
        "pgcache.configuration_overloaded": false,
        "pgcache.enabled": "1",
        "pgcache.comment_cookie_ttl": "1800",
        "pgcache.debug": "0",
        "pgcache.engine": "file_generic",
        "pgcache.file.gc": "3600",
        "pgcache.file.nfs": false,
        "pgcache.file.locking": false,
        "pgcache.lifetime": 3600,
        "pgcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "pgcache.memcached.persistent": true,
        "pgcache.memcached.aws_autodiscovery": false,
        "pgcache.memcached.username": "",
        "pgcache.memcached.password": "",
        "pgcache.redis.persistent": true,
        "pgcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "pgcache.redis.password": "",
        "pgcache.redis.dbid": 0,
        "pgcache.cache.query": true,
        "pgcache.cache.home": "1",
        "pgcache.cache.feed": "1",
        "pgcache.cache.nginx_handle_xml": "1",
        "pgcache.cache.ssl": "1",
        "pgcache.cache.404": "0",
        "pgcache.cache.headers": [
            "Last-Modified",
            "Content-Type",
            "X-Pingback",
            "P3P"
        ],
        "pgcache.compatibility": "0",
        "pgcache.remove_charset": "0",
        "pgcache.accept.uri": [
            "sitemap(_index)?\\.xml(\\.gz)?",
            "([a-z0-9_\\-]+)?sitemap\\.xsl",
            "[a-z0-9_\\-]+-sitemap([0-9]+)?\\.xml(\\.gz)?"
        ],
        "pgcache.accept.files": [
            "wp-comments-popup.php",
            "wp-links-opml.php",
            "wp-locations.php"
        ],
        "pgcache.accept.qs": [
            ""
        ],
        "pgcache.late_init": "0",
        "pgcache.late_caching": "0",
        "pgcache.mirrors.enabled": "1",
        "pgcache.mirrors.home_urls": [
            ""
        ],
        "pgcache.reject.front_page": "0",
        "pgcache.reject.logged": "1",
        "pgcache.reject.logged_roles": "1",
        "pgcache.reject.roles": [
            "administrator",
            "editor",
            "author"
        ],
        "pgcache.reject.uri": [
            "wp-.*\\.php",
            "index\\.php",
            "\/cart*",
            "\/checkout*",
            "\/shop\/my-account*"
        ],
        "pgcache.reject.categories": [
            ""
        ],
        "pgcache.reject.tags": [
            ""
        ],
        "pgcache.reject.authors": [
            ""
        ],
        "pgcache.reject.custom": [
            ""
        ],
        "pgcache.reject.ua": [
            ""
        ],
        "pgcache.reject.cookie": [
            "wptouch_switch_toggle",
            "bid_1_password_protected_auth"
        ],
        "pgcache.reject.request_head": false,
        "pgcache.purge.front_page": "0",
        "pgcache.purge.home": "1",
        "pgcache.purge.post": "1",
        "pgcache.purge.comments": "0",
        "pgcache.purge.author": "0",
        "pgcache.purge.terms": "0",
        "pgcache.purge.archive.daily": "0",
        "pgcache.purge.archive.monthly": "0",
        "pgcache.purge.archive.yearly": "0",
        "pgcache.purge.feed.blog": "1",
        "pgcache.purge.feed.comments": "0",
        "pgcache.purge.feed.author": "0",
        "pgcache.purge.feed.terms": "0",
        "pgcache.purge.feed.types": [
            "rss2"
        ],
        "pgcache.purge.postpages_limit": "10",
        "pgcache.purge.pages": [
            ""
        ],
        "pgcache.purge.sitemap_regex": "([a-z0-9_\\-]*?)sitemap([a-z0-9_\\-]*)?\\.xml",
        "pgcache.prime.enabled": "1",
        "pgcache.prime.interval": "90",
        "pgcache.prime.limit": "10",
        "pgcache.prime.sitemap": "",
        "pgcache.prime.post.enabled": "1",
        "pgcache.rest": "",
        "pgcache.cookiegroups.enabled": false,
        "pgcache.cookiegroups.groups": {
            "mobile": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "wptouch-pro-view=mobile",
                    "wptouch-pro-cache-state=mobile"
                ]
            },
            "loggedin": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "wordpress_logged_in_.*"
                ]
            },
            "subscribers": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "role=subscriber",
                    "role=member"
                ]
            }
        },
        "stats.enabled": "0",
        "minify.configuration_overloaded": false,
        "minify.enabled": "1",
        "minify.auto": "1",
        "minify.debug": "0",
        "minify.engine": "file",
        "minify.error.notification": "admin",
        "minify.file.gc": "86400",
        "minify.file.nfs": false,
        "minify.file.locking": false,
        "minify.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "minify.memcached.persistent": true,
        "minify.memcached.aws_autodiscovery": false,
        "minify.memcached.username": "",
        "minify.memcached.password": "",
        "minify.redis.persistent": true,
        "minify.redis.servers": [
            "127.0.0.1:6379"
        ],
        "minify.redis.password": "",
        "minify.redis.dbid": 0,
        "minify.rewrite": "1",
        "minify.options": [],
        "minify.symlinks": [],
        "minify.lifetime": "86400",
        "minify.upload": true,
        "minify.html.enable": "1",
        "minify.html.engine": "html",
        "minify.html.reject.feed": "0",
        "minify.html.inline.css": "1",
        "minify.html.inline.js": "1",
        "minify.html.strip.crlf": "0",
        "minify.html.comments.ignore": [
            "google_ad_",
            "RSPEAK_",
            "mfunc"
        ],
        "minify.css.combine": "0",
        "minify.css.enable": "1",
        "minify.css.engine": "css",
        "minify.css.http2push": "0",
        "minify.css.strip.comments": "1",
        "minify.css.strip.crlf": "0",
        "minify.css.embed": false,
        "minify.css.imports": "process",
        "minify.css.groups": {
            "41980": {
                "default": {
                    "include": {
                        "files": [
                            "wp-includes\/js\/jquery\/jquery.js",
                            "wp-includes\/js\/jquery\/jquery-migrate.min.js",
                            "wp-includes\/js\/jquery\/ui\/core.min.js",
                            "wp-content\/plugins\/cookie-law-info\/public\/css\/cookie-law-info-public.css",
                            "wp-content\/plugins\/cookie-law-info\/public\/css\/cookie-law-info-gdpr.css",
                            "wp-includes\/js\/jquery\/ui\/widget.min.js",
                            "wp-content\/plugins\/contact-form-7\/includes\/js\/scripts.js",
                            "wp-content\/themes\/enfold\/config-woocommerce\/woocommerce-mod.css",
                            "wp-content\/themes\/enfold\/css\/grid.css",
                            "wp-content\/themes\/enfold\/css\/base.css",
                            "wp-content\/themes\/enfold\/css\/layout.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/blog\/blog.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/postslider\/postslider.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/buttons\/buttons.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/comments\/comments.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/gallery\/gallery.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/grid_row\/grid_row.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/heading\/heading.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/hr\/hr.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/icon\/icon.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/iconbox\/iconbox.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/iconlist\/iconlist.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/image\/image.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/masonry_entries\/masonry_entries.css",
                            "wp-content\/themes\/enfold\/css\/avia-snippet-site-preloader.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/portfolio\/portfolio.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/slideshow\/slideshow.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/slideshow_fullsize\/slideshow_fullsize.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/social_share\/social_share.css",
                            "wp-content\/themes\/enfold\/config-templatebuilder\/avia-shortcodes\/video\/video.css",
                            "wp-includes\/css\/dist\/block-library\/style.min.css",
                            "wp-content\/plugins\/woo-gutenberg-products-block\/build\/vendors.css",
                            "wp-content\/plugins\/woo-gutenberg-products-block\/build\/featured-product.css",
                            "wp-content\/plugins\/contact-form-7\/includes\/css\/styles.css",
                            "wp-content\/themes\/enfold\/css\/shortcodes.css",
                            "wp-content\/themes\/enfold\/js\/aviapopup\/magnific-popup.css",
                            "wp-content\/themes\/enfold\/css\/avia-snippet-lightbox.css",
                            "wp-content\/themes\/enfold\/css\/avia-snippet-widget.css",
                            "wp-includes\/js\/mediaelement\/mediaelementplayer-legacy.min.css",
                            "wp-includes\/js\/mediaelement\/wp-mediaelement.min.css",
                            "wp-content\/uploads\/dynamic_avia\/enfold_child.css",
                            "wp-content\/themes\/enfold\/css\/custom.css",
                            "wp-content\/themes\/enfold-child\/style.css",
                            "wp-content\/plugins\/recent-posts-widget-with-thumbnails\/public.css"
                        ]
                    }
                }
            }
        },
        "minify.js.http2push": "0",
        "minify.js.enable": "1",
        "minify.js.engine": "js",
        "minify.js.combine.header": "0",
        "minify.js.header.embed_type": "blocking",
        "minify.js.combine.body": "0",
        "minify.js.body.embed_type": "blocking",
        "minify.js.combine.footer": "0",
        "minify.js.footer.embed_type": "nb-async",
        "minify.js.strip.comments": "1",
        "minify.js.strip.crlf": "0",
        "minify.js.groups": [],
        "minify.yuijs.path.java": "java",
        "minify.yuijs.path.jar": "yuicompressor.jar",
        "minify.yuijs.options.line-break": 5000,
        "minify.yuijs.options.nomunge": false,
        "minify.yuijs.options.preserve-semi": false,
        "minify.yuijs.options.disable-optimizations": false,
        "minify.yuicss.path.java": "java",
        "minify.yuicss.path.jar": "yuicompressor.jar",
        "minify.yuicss.options.line-break": 5000,
        "minify.ccjs.path.java": "java",
        "minify.ccjs.path.jar": "compiler.jar",
        "minify.ccjs.options.compilation_level": "SIMPLE_OPTIMIZATIONS",
        "minify.ccjs.options.formatting": "",
        "minify.csstidy.options.remove_bslash": true,
        "minify.csstidy.options.compress_colors": true,
        "minify.csstidy.options.compress_font-weight": true,
        "minify.csstidy.options.lowercase_s": false,
        "minify.csstidy.options.optimise_shorthands": 1,
        "minify.csstidy.options.remove_last_;": false,
        "minify.csstidy.options.remove_space_before_important": false,
        "minify.csstidy.options.case_properties": 1,
        "minify.csstidy.options.sort_properties": false,
        "minify.csstidy.options.sort_selectors": false,
        "minify.csstidy.options.merge_selectors": 2,
        "minify.csstidy.options.discard_invalid_selectors": false,
        "minify.csstidy.options.discard_invalid_properties": false,
        "minify.csstidy.options.css_level": "CSS2.1",
        "minify.csstidy.options.preserve_css": false,
        "minify.csstidy.options.timestamp": false,
        "minify.csstidy.options.template": "default",
        "minify.htmltidy.options.clean": false,
        "minify.htmltidy.options.hide-comments": true,
        "minify.htmltidy.options.wrap": 0,
        "minify.reject.logged": "0",
        "minify.reject.ua": [
            ""
        ],
        "minify.reject.uri": [
            "cart\/"
        ],
        "minify.reject.files.js": [
            ""
        ],
        "minify.reject.files.css": [
            ""
        ],
        "minify.cache.files": [
            "https:\/\/ajax.googleapis.com"
        ],
        "minify.cache.files_regexp": "0",
        "cdn.configuration_overloaded": false,
        "cdn.enabled": "0",
        "cdn.debug": true,
        "cdn.flush_manually": false,
        "cdn.engine": "maxcdn",
        "cdn.uploads.enable": true,
        "cdn.includes.enable": true,
        "cdn.includes.files": "*.css;*.js;*.gif;*.png;*.jpg;*.xml",
        "cdn.theme.enable": true,
        "cdn.theme.files": "*.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf,*.woff,*.less",
        "cdn.minify.enable": true,
        "cdn.custom.enable": true,
        "cdn.custom.files": [
            "favicon.ico",
            "{wp_content_dir}\/gallery\/*",
            "{wp_content_dir}\/uploads\/avatars\/*",
            "{plugins_dir}\/wordpress-seo\/css\/xml-sitemap.xsl",
            "{plugins_dir}\/wp-minify\/min*",
            "{plugins_dir}\/*.js",
            "{plugins_dir}\/*.css",
            "{plugins_dir}\/*.gif",
            "{plugins_dir}\/*.jpg",
            "{plugins_dir}\/*.png"
        ],
        "cdn.import.files": "",
        "cdn.queue.interval": 900,
        "cdn.queue.limit": 25,
        "cdn.force.rewrite": false,
        "cdn.autoupload.enabled": false,
        "cdn.autoupload.interval": 3600,
        "cdn.canonical_header": false,
        "cdn.admin.media_library": false,
        "cdn.cors_header": true,
        "cdn.ftp.host": "",
        "cdn.ftp.type": "",
        "cdn.ftp.user": "",
        "cdn.ftp.pass": "",
        "cdn.ftp.path": "",
        "cdn.ftp.pasv": false,
        "cdn.ftp.domain": [],
        "cdn.ftp.ssl": "auto",
        "cdn.ftp.default_keys": true,
        "cdn.ftp.pubkey": "",
        "cdn.ftp.privkey": "",
        "cdn.google_drive.client_id": "",
        "cdn.google_drive.refresh_token": "",
        "cdn.google_drive.folder.id": "",
        "cdn.google_drive.folder.title": "",
        "cdn.google_drive.folder.url": "",
        "cdn.highwinds.account_hash": "",
        "cdn.highwinds.api_token": "",
        "cdn.highwinds.host.hash_code": "",
        "cdn.highwinds.host.domains": [],
        "cdn.highwinds.ssl": "auto",
        "cdn.s3.key": "",
        "cdn.s3.secret": "",
        "cdn.s3.bucket": "",
        "cdn.s3.bucket.location": "us-east-1",
        "cdn.s3.cname": [],
        "cdn.s3.ssl": "auto",
        "cdn.s3_compatible.api_host": "auto",
        "cdn.cf.key": "",
        "cdn.cf.secret": "",
        "cdn.cf.bucket": "",
        "cdn.cf.bucket.location": "us-east-1",
        "cdn.cf.id": "",
        "cdn.cf.cname": [],
        "cdn.cf.ssl": "auto",
        "cdn.cf2.key": "",
        "cdn.cf2.secret": "",
        "cdn.cf2.id": "",
        "cdn.cf2.cname": [],
        "cdn.cf2.ssl": "",
        "cdn.rscf.user": "",
        "cdn.rscf.key": "",
        "cdn.rscf.location": "ORD",
        "cdn.rscf.container": "",
        "cdn.rscf.cname": [],
        "cdn.rscf.ssl": "auto",
        "cdn.rackspace_cdn.user_name": "",
        "cdn.rackspace_cdn.api_key": "",
        "cdn.rackspace_cdn.region": "",
        "cdn.rackspace_cdn.service.access_url": "",
        "cdn.rackspace_cdn.service.id": "",
        "cdn.rackspace_cdn.service.name": "",
        "cdn.rackspace_cdn.service.protocol": "http",
        "cdn.rackspace_cdn.domains": [],
        "cdn.azure.user": "",
        "cdn.azure.key": "",
        "cdn.azure.container": "",
        "cdn.azure.cname": [],
        "cdn.azure.ssl": "auto",
        "cdn.mirror.domain": [],
        "cdn.mirror.ssl": "auto",
        "cdn.limelight.short_name": "",
        "cdn.limelight.username": "",
        "cdn.limelight.api_key": "",
        "cdn.limelight.host.domains": [],
        "cdn.limelight.ssl": "auto",
        "cdn.maxcdn.authorization_key": "",
        "cdn.maxcdn.domain": [],
        "cdn.maxcdn.ssl": "auto",
        "cdn.maxcdn.zone_id": 0,
        "cdn.cotendo.username": "",
        "cdn.cotendo.password": "",
        "cdn.cotendo.zones": [],
        "cdn.cotendo.domain": [],
        "cdn.cotendo.ssl": "auto",
        "cdn.akamai.username": "",
        "cdn.akamai.password": "",
        "cdn.akamai.email_notification": [],
        "cdn.akamai.action": "invalidate",
        "cdn.akamai.zone": "production",
        "cdn.akamai.domain": [],
        "cdn.akamai.ssl": "auto",
        "cdn.edgecast.account": "",
        "cdn.edgecast.token": "",
        "cdn.edgecast.domain": [],
        "cdn.edgecast.ssl": "auto",
        "cdn.att.account": "",
        "cdn.att.token": "",
        "cdn.att.domain": [],
        "cdn.att.ssl": "auto",
        "cdn.stackpath.authorization_key": "",
        "cdn.stackpath.domain": [],
        "cdn.stackpath.ssl": "auto",
        "cdn.stackpath.zone_id": 0,
        "cdn.stackpath2.client_id": "",
        "cdn.stackpath2.client_secret": "",
        "cdn.stackpath2.stack_id": "",
        "cdn.stackpath2.site_id": 0,
        "cdn.stackpath2.site_root_domain": 0,
        "cdn.stackpath2.domain": [],
        "cdn.stackpath2.ssl": "auto",
        "cdn.reject.admins": false,
        "cdn.reject.logged_roles": false,
        "cdn.reject.roles": [],
        "cdn.reject.ua": [],
        "cdn.reject.uri": [],
        "cdn.reject.files": [
            "{uploads_dir}\/wpcf7_captcha\/*",
            "{uploads_dir}\/imagerotator.swf",
            "{plugins_dir}\/wp-fb-autoconnect\/facebook-platform\/channel.html"
        ],
        "cdn.reject.ssl": false,
        "cdnfsd.enabled": "0",
        "cdnfsd.engine": "",
        "cdnfsd.debug": false,
        "cdnfsd.cloudfront.access_key": "",
        "cdnfsd.cloudfront.secret_key": "",
        "cdnfsd.cloudfront.distribution_id": "",
        "cdnfsd.limelight.short_name": "",
        "cdnfsd.limelight.username": "",
        "cdnfsd.limelight.api_key": "",
        "cdnfsd.maxcdn.api_key": "",
        "cdnfsd.maxcdn.zone_id": 0,
        "cdnfsd.stackpath.api_key": "",
        "cdnfsd.stackpath.zone_id": 0,
        "cdnfsd.stackpath2.client_id": "",
        "cdnfsd.stackpath2.client_secret": "",
        "cdnfsd.stackpath2.stack_id": "",
        "cdnfsd.stackpath2.site_id": 0,
        "cdnfsd.stackpath2.site_root_domain": 0,
        "cdnfsd.stackpath2.domain": [],
        "cdnfsd.stackpath2.ssl": "auto",
        "varnish.configuration_overloaded": false,
        "varnish.enabled": "0",
        "varnish.debug": true,
        "varnish.servers": [
            ""
        ],
        "browsercache.configuration_overloaded": false,
        "browsercache.enabled": "1",
        "browsercache.rewrite": "0",
        "browsercache.no404wp": "0",
        "browsercache.no404wp.exceptions": [
            "robots\\.txt",
            "[a-z0-9_\\-]*sitemap[a-z0-9_\\-]*\\.(xml|xsl|html)(\\.gz)?"
        ],
        "browsercache.cssjs.last_modified": "1",
        "browsercache.cssjs.compression": "1",
        "browsercache.cssjs.brotli": false,
        "browsercache.cssjs.expires": "0",
        "browsercache.cssjs.lifetime": "31536000",
        "browsercache.cssjs.nocookies": "0",
        "browsercache.cssjs.cache.control": "1",
        "browsercache.cssjs.cache.policy": "cache_public_maxage",
        "browsercache.cssjs.etag": "1",
        "browsercache.cssjs.w3tc": "1",
        "browsercache.cssjs.replace": "1",
        "browsercache.cssjs.querystring": "0",
        "browsercache.html.compression": "1",
        "browsercache.html.brotli": false,
        "browsercache.html.last_modified": "1",
        "browsercache.html.expires": "0",
        "browsercache.html.lifetime": "3600",
        "browsercache.html.cache.control": "1",
        "browsercache.html.cache.policy": "cache_public_maxage",
        "browsercache.html.etag": "1",
        "browsercache.html.w3tc": "1",
        "browsercache.html.replace": false,
        "browsercache.other.last_modified": "1",
        "browsercache.other.compression": "1",
        "browsercache.other.brotli": false,
        "browsercache.other.expires": "0",
        "browsercache.other.lifetime": "31536000",
        "browsercache.other.nocookies": "0",
        "browsercache.other.cache.control": "1",
        "browsercache.other.cache.policy": "cache_public_maxage",
        "browsercache.other.etag": "1",
        "browsercache.other.w3tc": "1",
        "browsercache.other.replace": "1",
        "browsercache.other.querystring": "0",
        "browsercache.replace.exceptions": [
            ""
        ],
        "browsercache.security.session.cookie_httponly": "",
        "browsercache.security.session.cookie_secure": "",
        "browsercache.security.session.use_only_cookies": "",
        "browsercache.hsts": "1",
        "browsercache.security.hsts.directive": "maxage",
        "browsercache.security.xfo": "1",
        "browsercache.security.xfo.directive": "same",
        "browsercache.security.xfo.allow": "",
        "browsercache.security.xss": "1",
        "browsercache.security.xss.directive": "block",
        "browsercache.security.xcto": "1",
        "browsercache.security.pkp": "0",
        "browsercache.security.pkp.pin": "",
        "browsercache.security.pkp.pin.backup": "",
        "browsercache.security.pkp.extra": "maxage",
        "browsercache.security.pkp.report.url": "",
        "browsercache.security.pkp.report.only": "0",
        "browsercache.security.referrer.policy": "1",
        "browsercache.security.referrer.policy.directive": "strict-origin",
        "browsercache.security.csp": "0",
        "browsercache.security.csp.base": "",
        "browsercache.security.csp.frame": "",
        "browsercache.security.csp.connect": "",
        "browsercache.security.csp.font": "",
        "browsercache.security.csp.script": "",
        "browsercache.security.csp.style": "",
        "browsercache.security.csp.img": "",
        "browsercache.security.csp.media": "",
        "browsercache.security.csp.object": "",
        "browsercache.security.csp.plugin": "",
        "browsercache.security.csp.form": "",
        "browsercache.security.csp.frame.ancestors": "",
        "browsercache.security.csp.sandbox": "",
        "browsercache.security.csp.default": "",
        "mobile.configuration_overloaded": false,
        "mobile.enabled": false,
        "mobile.rgroups": {
            "high": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "agents": [
                    "acer\\ s100",
                    "android",
                    "archos5",
                    "bada",
                    "bb10",
                    "blackberry9500",
                    "blackberry9530",
                    "blackberry9550",
                    "blackberry\\ 9800",
                    "cupcake",
                    "docomo\\ ht\\-03a",
                    "dream",
                    "froyo",
                    "googlebot-mobile",
                    "htc\\ hero",
                    "htc\\ magic",
                    "htc_dream",
                    "htc_magic",
                    "iemobile\/7.0",
                    "incognito",
                    "ipad",
                    "iphone",
                    "ipod",
                    "kindle",
                    "lg\\-gw620",
                    "liquid\\ build",
                    "maemo",
                    "mot\\-mb200",
                    "mot\\-mb300",
                    "nexus\\ one",
                    "nexus\\ 7",
                    "opera\\ mini",
                    "s8000",
                    "samsung\\-s8000",
                    "series60.*webkit",
                    "series60\/5\\.0",
                    "sonyericssone10",
                    "sonyericssonu20",
                    "sonyericssonx10",
                    "t\\-mobile\\ mytouch\\ 3g",
                    "t\\-mobile\\ opal",
                    "tattoo",
                    "touch",
                    "webmate",
                    "webos"
                ]
            },
            "low": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "agents": [
                    "2\\.0\\ mmp",
                    "240x320",
                    "alcatel",
                    "amoi",
                    "asus",
                    "au\\-mic",
                    "audiovox",
                    "avantgo",
                    "benq",
                    "bird",
                    "blackberry",
                    "blazer",
                    "cdm",
                    "cellphone",
                    "danger",
                    "ddipocket",
                    "docomo",
                    "dopod",
                    "elaine\/3\\.0",
                    "ericsson",
                    "eudoraweb",
                    "fly",
                    "haier",
                    "hiptop",
                    "hp\\.ipaq",
                    "htc",
                    "huawei",
                    "i\\-mobile",
                    "iemobile",
                    "iemobile\/7",
                    "iemobile\/9",
                    "j\\-phone",
                    "kddi",
                    "konka",
                    "kwc",
                    "kyocera\/wx310k",
                    "lenovo",
                    "lg",
                    "lg\/u990",
                    "lge\\ vx",
                    "midp",
                    "midp\\-2\\.0",
                    "mmef20",
                    "mmp",
                    "mobilephone",
                    "mot\\-v",
                    "motorola",
                    "msie\\ 10\\.0",
                    "netfront",
                    "newgen",
                    "newt",
                    "nintendo\\ ds",
                    "nintendo\\ wii",
                    "nitro",
                    "nokia",
                    "novarra",
                    "o2",
                    "openweb",
                    "opera\\ mobi",
                    "opera\\.mobi",
                    "p160u",
                    "palm",
                    "panasonic",
                    "pantech",
                    "pdxgw",
                    "pg",
                    "philips",
                    "phone",
                    "playbook",
                    "playstation\\ portable",
                    "portalmmm",
                    "\\bppc\\b",
                    "proxinet",
                    "psp",
                    "qtek",
                    "sagem",
                    "samsung",
                    "sanyo",
                    "sch",
                    "sch\\-i800",
                    "sec",
                    "sendo",
                    "sgh",
                    "sharp",
                    "sharp\\-tq\\-gx10",
                    "small",
                    "smartphone",
                    "softbank",
                    "sonyericsson",
                    "sph",
                    "symbian",
                    "symbian\\ os",
                    "symbianos",
                    "toshiba",
                    "treo",
                    "ts21i\\-10",
                    "up\\.browser",
                    "up\\.link",
                    "uts",
                    "vertu",
                    "vodafone",
                    "wap",
                    "willcome",
                    "windows\\ ce",
                    "windows\\.ce",
                    "winwap",
                    "xda",
                    "xoom",
                    "zte"
                ]
            }
        },
        "referrer.configuration_overloaded": false,
        "referrer.enabled": false,
        "referrer.rgroups": {
            "search_engines": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "referrers": [
                    "google\\.com",
                    "yahoo\\.com",
                    "bing\\.com",
                    "ask\\.com",
                    "msn\\.com"
                ]
            }
        },
        "common.support": "",
        "common.track_usage": "0",
        "common.tweeted": false,
        "config.check": "1",
        "config.path": "",
        "widget.latest.items": 3,
        "widget.latest_news.items": 5,
        "widget.pagespeed.enabled": "0",
        "widget.pagespeed.key": "",
        "widget.pagespeed.key.restrict.referrer": "",
        "widget.pagespeed.show_in_admin_bar": "0",
        "timelimit.email_send": 180,
        "timelimit.varnish_purge": 300,
        "timelimit.cache_flush": 600,
        "timelimit.cache_gc": 600,
        "timelimit.cdn_upload": 600,
        "timelimit.cdn_delete": 300,
        "timelimit.cdn_purge": 300,
        "timelimit.cdn_import": 600,
        "timelimit.cdn_test": 300,
        "timelimit.cdn_container_create": 300,
        "timelimit.domain_rename": 120,
        "timelimit.minify_recommendations": 600,
        "common.instance_id": 1109012130,
        "common.force_master": true,
        "extensions.active": {
            "swarmify": "w3-total-cache\/Extension_Swarmify_Plugin.php"
        },
        "extensions.active_frontend": [],
        "plugin.license_key": "",
        "plugin.type": "",
        "cdn.netdna.alias": "",
        "cdn.netdna.consumerkey": "",
        "cdn.netdna.consumersecret": "",
        "cdn.netdna.authorization_key": "",
        "cdn.netdna.domain": [],
        "cdn.netdna.ssl": "auto",
        "cdn.netdna.zone_id": 0,
        "common.edge": false,
        "dbcache.memcached.persistant": true,
        "objectcache.memcached.persistant": true,
        "fragmentcache.enabled": false,
        "fragmentcache.memcached.persistant": true,
        "fragmentcache.groups": [],
        "pgcache.memcached.persistant": true,
        "pgcache.check.domain": false,
        "pgcache.cache.flush": false,
        "minify.memcached.persistant": true,
        "cdn.import.external": false,
        "cdncache.enabled": false,
        "browsercache.timestamp": "1468659297",
        "common.install": 0,
        "notes.wp_content_changed_perms": true,
        "notes.wp_content_perms": true,
        "notes.theme_changed": false,
        "notes.wp_upgraded": false,
        "notes.plugins_updated": false,
        "notes.cdn_upload": false,
        "notes.cdn_reupload": false,
        "notes.need_empty_pgcache": false,
        "notes.need_empty_minify": false,
        "notes.need_empty_objectcache": false,
        "notes.root_rules": true,
        "notes.rules": true,
        "notes.pgcache_rules_wpsc": true,
        "notes.support_us": false,
        "notes.no_curl": true,
        "notes.no_zlib": true,
        "notes.zlib_output_compression": true,
        "notes.no_permalink_rules": true,
        "notes.browsercache_rules_no404wp": true,
        "minify.auto.filename_length": 150,
        "minify.auto.disable_filename_length_test": false,
        "newrelic.enabled": false,
        "newrelic.account_id": "",
        "newrelic.application_id": 0,
        "notes.new_relic_page_load_notification": true,
        "newrelic.appname_prefix": "Child Site - ",
        "newrelic.merge_with_network": true,
        "newrelic.use_network_wide_id": false,
        "extensions.settings": [],
        "pgcache.bad_behavior_path": "",
        "newrelic": {
            "monitoring_type": "apm",
            "api_key": "",
            "apm.application_name": "",
            "accept.logged_roles": true,
            "accept.roles": [
                "contributor"
            ],
            "use_php_function": true,
            "cache_time": 5,
            "enable_xmit": false,
            "include_rum": true
        },
        "genesis.theme": {
            "wp_head": "0",
            "genesis_header": "1",
            "genesis_do_nav": "0",
            "genesis_do_subnav": "0",
            "loop_front_page": "1",
            "loop_terms": "1",
            "flush_terms": "1",
            "loop_single": "1",
            "loop_single_excluded": "",
            "loop_single_genesis_comments": "0",
            "loop_single_genesis_pings": "0",
            "sidebar": "0",
            "sidebar_excluded": "",
            "genesis_footer": "1",
            "wp_footer": "0",
            "reject_logged_roles": "1",
            "reject_logged_roles_on_actions": [
                "genesis_loop",
                "wp_head",
                "wp_footer"
            ],
            "reject_roles": [
                "administrator"
            ]
        },
        "feedburner": {
            "urls": ""
        },
        "fragmentcache": {
            "debug": false,
            "engine": "file",
            "file.gc": 3600,
            "file.locking": false,
            "memcached.servers": [
                "127.0.0.1:11211"
            ],
            "lifetime": 180
        }
    }
    • This reply was modified 1 month, 3 weeks ago by  rdc2701. Reason: added code links

    added info:
    same results wih 2019 theme, so not theme related.
    Also tried /shop/, /cart/, /checkout/ instead of /shop*, /cart*, /checkout* but that doesn’t make a difference obviously.

    What really bugs me is that ONLY in IE the behavior doesn’t happen, so the the only browser that normally doesn’t behave…

    Also tried excluding woocommerce related js and css from minification, but still no dice.

    • This reply was modified 1 month, 3 weeks ago by  rdc2701.
    • This reply was modified 1 month, 3 weeks ago by  rdc2701.
    • This reply was modified 1 month, 3 weeks ago by  rdc2701.

    More info still:
    Using the plugin “Empty Cart” which sets a button to remove all items in a single click, then the page auto-refresh works fine with W3TC activated. But with the X same problem, no matter what I try to change.

    https://wordpress.org/plugins/woo-empty-cart-button/

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,

    So the issue persists even when Page cache is disabled? There might be some issue with the browser history. Try to disable browser cache, save all settings and purge all caches. Open the page in the incognito window with cache cleared.
    I can see that you have set Cache-control header cache_public_maxage, so maybe it needs to be max-age with validation.
    Before you change that, disable browser cache and purge all caches. Open the page in the incognito window and see if the issue persists.

    Hi Marko,

    Page cache disabled / Purge all caches / Browser cache cleared 3x / private window > issue persists

    Browser cache disabled / Purge all caches / Browser cache cleared 3x / private window > issue not happening…

    Browser cache disabled / Purge all caches / Browser cache cleared 3x / normal window > (anon user) issue not happening…

    Browser cache disabled / Purge all caches / Browser cache cleared 3x / normal window > (logged in user) issue not happening…

    So I must have overlooked this before, because I was very sure I had also tested with browser cache disabled, sorry! Or maybe I forget to purge/save somewhere earlier. My apologies for reporting wrongly before.
    Definitely browser cache related, when Browser Cache is not enabled no issue with autorefresh.

    Browser cache disabled / Purge all caches / Set max age with validation / Save & purge / Browser cache cleared 3x / private window > issue persists

    Browser cache disabled / Purge all caches / Set max age with validation / Save & purge / Browser cache cleared 3x / (logged in user) normal window > issue persists

    Browser cache disabled / Purge all caches / Cache with validation / Save & purge / Browser cache cleared 3x / private window > issue persists

    Browser cache disabled / Purge all caches / Set max age with validation / Delete W3TC part from htaccess / Save & purge / Enable Browser cache / Browser cache cleared 3x / (logged in user) normal window > issue persists

    Browser cache disabled / Purge all caches / Set max age with validation / Save & purge / Enable Browser Cache / Delete W3TC part from htaccess / Save & purge / Check htaccess for W3TC / Browser cache cleared 3x / (logged in user) normal window > issue persists

    Browser cache disabled / Purge all caches / Set max age with validation / Save & purge / Enable Browser Cache / Delete W3TC part from htaccess / Save & purge / Check htaccess for W3TC / Browser cache cleared 3x / private window > issue persists

    So only disabling the Browser Cache completely gives a different result so far.

    Thanks again for your help!

    BTW, with all the old settings, the plugin “Empty Cart” does not have this problem at all with W3TC enabled. And why IE doesn’t suffer from it is another mystery to me 🙂

    • This reply was modified 1 month, 3 weeks ago by  rdc2701. Reason: corrected typo

    aha, the plot thickens…
    If I right-click on the X to remove the item, the site open on the Home page, but when I then go to the shop page the page/tab shows “ItemY removed. Undo?” without the need for a page refresh.
    To my mind it is starting to increasingly look like a WooCommerce issue, but I’m not sure why it wouldn’t happen without W3TC enabled.

    • This reply was modified 1 month, 3 weeks ago by  rdc2701.
    • This reply was modified 1 month, 3 weeks ago by  rdc2701. Reason: forgot the part of opening on the home page after right click
    • This reply was modified 1 month, 3 weeks ago by  rdc2701.

    FYI, I’ve opened a ticket with Woo to gain insight into why right-clicking the X to open in a new tab goes to the Home page instead of the cart or shop itself. May give us a clue to find out what is happening.
    https://wordpress.org/support/topic/insight-into-remove-cart-item-with-x
    Will keep you posted.

    Hi,

    Could this issue help to explain the behavior noted with removing cart items through the X?
    https://wordpress.org/support/topic/woocommerce-remove-from-cart-redirects-to-homepage/
    This exact scenario happens when right-clicking the X to open in a new tab, but only when W3TC is active.

    Without W3TC active, the page opens at domain.com/cart/?removed_item=1
    With W3TC active, the page opens at domain.com/?removed_item=1

    Not sure why that happens, but maybe it will mean something to you.

    • This reply was modified 1 month, 2 weeks ago by  rdc2701. Reason: typo
    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @rdc2701,

    Any further progress on this?

    Hi Marko,

    No news from WooCommerce support on this. I don’t have enough insight into how WooCommerce does things there (not being a coder myself).

    I have been trying various things, also to find a way to exclude that one URL from the browser cache, but so far I have only found ways to exclude actual paths, not URLs.
    So no progress yet, I don’t have any new insights on this.

    If all else fails, I will maybe just decide to hide the X (remove item) on the page and only use the “Empty Cart” plugin which works fine with W3TC active.

    Thanks for your interest so far.

    • This reply was modified 1 month, 1 week ago by  rdc2701.
Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.