Needs work
Project:
CloudFlare Purge (cfpurge)
Version:
7.x-1.35
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Oct 2015 at 09:02 UTC
Updated:
18 Nov 2022 at 10:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
luke_nuke commentedI'm sure it can be done better, but well, didn't have enough time. With this patch cfpurge should work with "Include base URL in expires" (in Expire module) enabled or disabled, and with multilingual URLs.
Be aware of one thing though - when expiring on "Node update" action - the i18n_sync module may kick in (if you have it enabled) to synchronize translations, which will trigger purge for all translations of updated node (because technically, they also will be updated, by triggering node_save() in i18n_sync), it may, or may not be desirable.
Comment #3
luke_nuke commentedComment #4
luke_nuke commentedComment #5
luke_nuke commentedComment #6
luke_nuke commentedWhoops, I made one mistake in previous patch now it is fixed. Still, I believe it should be done more elegantly.
Comment #7
jh3 commentedRerolled the patch against the latest dev version. Removed a dpm() call too.
Comment #8
jh3 commentedComment #10
jh3 commentedThe test failed due to lack of tests...
Comment #11
jh3 commentedComment #12
jh3 commentedComment #14
pritamsarkar commentedHi jh3,
Reviewed the last Patch, looks like it should work, but as you confirmed that it failed testing, so can you please share the logs after testing?