I have a project on Acquia Cloud Site Factory, it has at least two domains, a public-facing domain that forbids the access to /user and /admin paths, and a back-office domain that restricts access from allowed IPs.
There is a need from the user to be able to manually purge the cache from Acquia Varnish wich PurgeBlock, but the PurgeBlock only supports purge the URL of the current domain, which is the back-office domain at this setup, but what the user wants is actually to purge the corresponding path from the public-facing domain.
Comments
Comment #2
weynhamzI checked the code of PurgeBlock and found there is a possibility to leverage the `path` purge type to achieve the requirements.
Attached is the PoC code for RFC purpose, there is still lots of space to improve, or even there might be a better approach.
The patch is based on 8.x-1.0 branch.
Comment #3
aloneblood commentedUpdate the patch base on 1.2 version.
Comment #4
aloneblood commentedComment #5
leo liao commentedComment #6
leo liao commented