Purge Cache with Wildcard

Reffering to: LINK1, LINK2, LINK3, LINK4

The Feature to “the option to purg with wildcars” are highly needed.

For example:

  1. Purging the Cache for just one subdomain:
    https://sub.domain.tld/*

  2. Purging the Cache for specific folders:
    https://sub.domain.tld/folder/*

  3. Purging the Cache for specifiy File-Extensions:
    *jp*g (will purge .jpg and .jpeg)

  4. Purging the Cache for PHP Files:
    *.php*
    or
    https://www.domain.tld/dynamic/*.php*

Persons from former thread which requested or may could like this:
@M4rt1n @eldhose @hiyehoc308 @rami.zebian @yibir41785 @liliana.iturribarria
I hope some more will join this Feature Request as I see no reason for why this should not be implemented.

Also if someone from CloudFlare is replying, pls do not just say “its not supported”. We know that, thats why we are requesting this feature.

Surely upvote this feature on every plan. :kissing_heart:

1 Like

I up-vote too. The closest solution in the meantime is using “Purge by Cache-Tag” but this feature is only available for the Enterprise Plan. A pleasant approach too would be unlocking this feature for Pro Plan and above.

1 Like

Thats a lot of links there. :smiley: hope they see. Me too upvote…

what i need to achive

check the image


3 Likes

Thanks for linking to my request about purging with wildcards. Atleast cloudflare team should see these POSTS. I would like to purge by directory if it was possible.

yeah also about cacheing php pages and ignoring query strings. I don’t need to use the cache tags at all. :man_shrugging:t4:

mhmm. ignoring strings for php pages seems good, but need careful to implement it.

yeah need to implemented carefully. but it will sure reduce the load on the origin server. :smiling_face_with_three_hearts:

:logopulse:

hope they bring this feature. cache dynamic pages and ignore query strings along. :kissing_heart:

To avoid cache escape on query parameters, you can create a page rule to forward a URL with temporary 302 redirect. For example:

Redirect:
domain.tld/page?*

To:
domain.tld/page

[unless you are using parameters for that page]

No no, thats not i wanted to redirect users. But to show same cached resource for query parameters same as URL. This is a Product Request. Also Purging the cache by directory is a great thing.