Wordfence is a popular security plugin for WordPress users. The plugins' default setting enables cookies, which prevents Varnish from being able to cache the site. As Varnish is a key factor in performance on DreamPress, it's highly recommended you disable Wordfence's ability to allow cookies.
The following describes how to disable cookies in the Wordfence plugin.
Disabling Wordfence cookies
- Log in to your WordPress wp-admin dashboard.
- In the left panel, select Wordfence.
- Select 'All Options'.
- Scroll down and select 'General Wordfence Options' under the Wordfence Global Options section.
- Select 'Disable Wordfence Cookies' and then click the SAVE CHANGES button on the upper right.
After you save your changes, Wordfence prevents cookies and allows Varnish to properly cache the site.