I've set up cloudflare caching of Drupal's frontpage by adding a Page Rule for my Drupal base URL, with a "Cache Everyting" setting (otherwise, caching is enabled only for certain file extensions). I've installed the Cloudflare module, and enabling
However, it seems that after authenticating, users see the anonymous homepage. If I go to /drupal/user, I see the user's page (so I know login works). I don't understand how this happens, since the Drupal anonymous pages are supposed to set 'Vary: Cookie' (which Cloudflare supposedly obeys), and authenticated users should send a session cookie.
Is anyone using cloudflare successfully for dynamic content? What settings would help? Any ideas?
NOTE. I haven't set conf['omit_vary_cookie']. Debugging with curl -I shows the appropriate
Vary: Cookie,Accept-Encoding. Under Firefox, after authenticating, a request to
/drupal/ sends a session cookie.