• Resolved fkoomek

    (@fkoomek)


    Hello.
    Some time ago I asked if it’s possible to programatically clear pages containing certain query string.(I have caching query strings option enabled) For example I would like to clear all pages containing “?filters”.
    Is there any progress? Thanks

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

    (@vmarko)

    Hello @fkoomek

    Once again thank you for your question.
    At the moment you can only programmatically clear a single URL w3tc_flush_url($url).
    So t is not possible to programmatically clear all pages containing “?filters”.
    The alternative at the moment is to purge all cache.
    I’ll speak to the team and see if it’s possible for this to be implemented in the future.
    Thanks!

    Thread Starter fkoomek

    (@fkoomek)

    Ok, I see.
    Thank you.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @fkoomek

    Thank you for your patience. We’ve just released the 0.14.2 version which includes the following fix:

    specifying URIs with a query string in Additional Pages – Performance->Page Cache->Additional Pages parameter was not processing URIs with query string correctly and didn’t purge such pages when Cache URIs with query string option is enabled.

    Please update the plugin to the latest release and see if this helps!
    Thank you!

    Thread Starter fkoomek

    (@fkoomek)

    Hello.
    I tried it with no luck. Are you saying that it should be possible to purge all URIs containing specific query string? How to write it to the box?
    I also tried to specify for example specific URI test2.liberlapidum.com/cs/?filters=group[skupiny-halogenidy] but it doesn’t do anything.
    Thank you.

    Thread Starter fkoomek

    (@fkoomek)

    Can you please explain on a specific example how to use this feature?
    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @fkoomek

    Sorry for the late reply. It appears that this is not a solution to your question.
    In Performance->Page Cache->Additional Pages, when the URI with the query string is added if cached, once the cache is purged it will also purge the Uros with Query strings.
    There is no such a filter at the moment, and as there is no other requests for this kind of feature.
    SO I apologize for the inconvenience and possibly this will be something we can add in the future.
    Thanks!

    Thread Starter fkoomek

    (@fkoomek)

    Thank you.
    I was finally able to solve this issue by using 2 caching plugins. I use WP fastest cache for caching only query strings and then delete the cache on product change.

    Thread Starter fkoomek

    (@fkoomek)

    Thank you.
    I was finally able to solve this issue by using 2 caching plugins. I use WP fastest cache for caching only query strings and then delete the cache on product change. It seems that it’s working without conflicts.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Clearing pages with querystring.’ is closed to new replies.