- Compatible XF 1.x versions
This is ONLY useful if you are using "simplified" caching. Using "aggressive" caching should also fix the problem, but I historically had problems with it, so switched to "simplified".
This fixes problems with users being unable to change their avatar when you use cloudflare. However they may still occasionally need to refresh the page as it seems the purging is not instant.
I used this with the "Simplified" caching option in Cloudflare:
Which very effectively caches all avatar images, and can be quite a benefit on very high traffic threads.
You need to enter your API key, email address, and cloudflare zone (domain) in the options