mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Wrong varnish VCL file for WordPress ( causing caching issues ) #341
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bomsn on 9/23/2023
CloudPanel version(s) affected
2.3.2
Description
The default
/etc/varnish/default.vclis causing caching issues with WordPress. Normally, cookies starting withwordpress_should not be cached. However, default vcl file is not setup to handle this rule.How to reproduce
wordpress_. This cookie value should be different for each browser/user session.var_dumpthe cookie anywhere to see the value.Possible Solution
Replace the current VCL file with the one here: https://www.varnish-software.com/developers/tutorials/configuring-varnish-wordpress/
Additional Context
No response