In Context aware HTTP cache, you need to set the anonymous X-User-Hash in the VLC for Varnish to work.
The anonymous X-User-Hash is generated based on the anonymous user, group and role. The _38015b703d82206ebc01d17a39c727e5 will work only if you let these three items untouched. Once you change the default permissions and settings, the X-User-Hash will change and Varnish won't be able to effectively handle cache anymore.
In that way, you need to find out what is the new anonymous X-User-Hash and change the VLC accordingly or Varnish will return a no-cache header.
The easiest way to find the new hash is:
- Connect to your server (shh should be enough)
- Add your-domain.com to your /etc/hosts file (if it's the case)
- Execute the following command:
- You should get something like this:
- Now, take the displayed X-User-Hash value and update your VCL
- Restart the Varnish server and everything should work fine.
These steps must be documented in Context aware HTTP cache and any other relevant documentation page.