• Resolved diamantweb

    (@diamantweb)


    Hey,
    when I purge a category page (Woo) instead of original link e.g. “product-category/uhod-telo” gets generarted an alternative “product-category/uhod-telo/?w3tc_note=pgcache_purge_post”

    What is a reason? Is a setting “purge current page” doesnt work for category pages?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @diamantweb

    Thank you for your iqnuiry and I am happy to assist you with this.
    This happens because of the Referrer-Policy header set in Performance>Browser Cache>Seurity Headers.
    If the directive is set to “no-referrer-when-downgrade” you should change it to “same-origin”, save all settings and purge the cache.
    Thanks!

    Thread Starter diamantweb

    (@diamantweb)

    Hi Marko,
    Thx for your reply. I changed a setting as you guided + purge cache. Nothing changed on front, still additional “w3tc_note=pgcache_purge_post” appears

    Br, Waldemar

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @diamantweb

    Thank you for the information.
    Ah, yes “w3tc_note=pgcache_purge_post” remains as its showing that the specific post is purged. This happens only when logged in so the string is not showing for non logged in users.
    Changing the referrer-policy directive to “same-origin” will not redirect you to the dashboard but you will remain on the post that is purged.
    Thanks!

    Thread Starter diamantweb

    (@diamantweb)

    Hi Marko,
    So how I should proceed here? Seems like when I click purge current page (category page is meant e.g.) the “w3tc_note=pgcache_purge_post” appears and as a result the original category link doesnt get parged. Being unlogged (in privat mode e.g) I go to the parged category page and still see the page in a status as it was not parged, still old product price is shown. To undestand better pls have a look at the first product from the catalog. Link on the category page is the first message

    Br, Waldemar

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @diamantweb

    Thank you for the info.
    Does the issue persist if you purge all cache?
    Thanks!

    Thread Starter diamantweb

    (@diamantweb)

    Hi Marko,
    No, when I “purge all”, all pages are purged but “purge current page” doent work for category page

    Br, Waldemar

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @diamantweb

    Thank you for the information. I am sorry about the confusion and misunderstanding.
    You are correct, the Purge current page won’t work in this case.
    “Purge current page” only clear cache for the post ID which is not the case with category pages.
    You can do it programmatically and call w3tc_flush_url($url) on those posts
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Link name changes’ is closed to new replies.