Title: Resolving Cookie Loading Before Consent in WP Rocket Setup
Last modified: September 4, 2023

---

# Resolving Cookie Loading Before Consent in WP Rocket Setup

 *  Resolved [3focos](https://wordpress.org/support/users/3focos/)
 * (@3focos)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/)
 * I have configured my website using the WP Rocket plugin; however, cookies are
   being loaded as soon as the site loads, even before users have accepted the cookie
   policies. How can I address this issue?
    -  This topic was modified 2 years, 8 months ago by [3focos](https://wordpress.org/support/users/3focos/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Johan Jonk Stenström](https://wordpress.org/support/users/jonkastonka/)
 * (@jonkastonka)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17026206)
 * Have you read [I’m using a cache plugin, and it seems to be interfere with this plugin](https://wordpress.org/plugins/cookies-and-content-security-policy/#i%27m%20using%20a%20cache%20plugin%2C%20and%20it%20seems%20to%20be%20interfere%20with%20this%20plugin)?
 *  Thread Starter [3focos](https://wordpress.org/support/users/3focos/)
 * (@3focos)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17026280)
 * Hello, yes I read the faq. Configure wp-rocket excluding cookies and content_security_policy
   Any other alternative?
 *  Plugin Author [Johan Jonk Stenström](https://wordpress.org/support/users/jonkastonka/)
 * (@jonkastonka)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17027010)
 * If that doesn’t work, then WP Rocket isn’t excluding the cookie from the cache.
   If that is the case, ask them.
 * Just to make sure, can you send me a screenshot of the setting in WP Rocket? 
   Use [https://imgbb.com/](https://imgbb.com/) or something equivalent.
 *  Thread Starter [3focos](https://wordpress.org/support/users/3focos/)
 * (@3focos)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17027030)
 * [https://ibb.co/h21hS24](https://ibb.co/h21hS24)
 *  Plugin Author [Johan Jonk Stenström](https://wordpress.org/support/users/jonkastonka/)
 * (@jonkastonka)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17027034)
 * Looks correct. I’d say you should probably drop WP Rocket.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Resolving Cookie Loading Before Consent in WP Rocket Setup’ is closed
to new replies.

 * ![](https://ps.w.org/cookies-and-content-security-policy/assets/icon-256x256.
   png?rev=2414719)
 * [Cookies and Content Security Policy](https://wordpress.org/plugins/cookies-and-content-security-policy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookies-and-content-security-policy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookies-and-content-security-policy/)
 * [Active Topics](https://wordpress.org/support/plugin/cookies-and-content-security-policy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookies-and-content-security-policy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookies-and-content-security-policy/reviews/)

## Tags

 * [WP Rocket](https://wordpress.org/support/topic-tag/wp-rocket/)

 * 5 replies
 * 2 participants
 * Last reply from: [Johan Jonk Stenström](https://wordpress.org/support/users/jonkastonka/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-wp-rocket/#post-17027034)
 * Status: resolved