LogoLogo
Analytics HelperSirdata APISemantic APIA propos de Sirdata
English
English
  • Sirdata CMP
  • INSTALL
    • Web & Mobile web
    • AMP
    • Via a Tag Manager
      • Loading via Google Tag Manager
    • In a CMS
      • Loading in Shopify
      • Loading in Wordpress
      • Loading in Prestashop
      • Loading in Magento
      • Loading in Drupal
    • Cache Systems Exclusion
      • Autoptimize WordPress Plugin
      • Cloudflare WordPress Plugin
      • LiteSpeed WordPress Plugin
      • NitroPack WordPress Plugin
      • SG Optimizer WordPress Plugin
      • WP Super Cache WordPress Plugin
      • W3 Total Cache WordPress Plugin
      • WP Meteor Plugin for Wordpress
      • WP Rocket WordPress Plugin
  • CONSENT TRANSMISSION STANDARDS
    • Introduction
    • Google Consent Mode
      • Mandatory Prerequisite
      • Activation of Advanced Google Consent Mode
        • Via the Sirdata CMP
        • Via Google Tag Manager
      • Activation of Basic Google Consent Mode
        • Via the Sirdata CMP
        • Via Google Tag Manager
      • Activation via Sirdata CMP
      • Activation via Google Tag Manager
    • Microsoft UET Consent Mode
    • Microsoft Clarity Consent
  • CMP API
    • How it works
    • Examples
    • Working with iframes
  • Advanced features
    • Passive mode
    • Set language per user
    • Manually display the CMP
  • Script management
    • Remote Tags Management without a Tag Manager
    • Remote Tags Management with a Tag Manager
    • Tag Management with Google Tag Manager
    • Local script Management
    • Advanced configuration
    • Examples
    • Share the TC String
    • Tag Management setup service
  • Analytics
    • Google Analytics
  • F.A.Q.
    • Integration
      • Is Abconsent compatible with Stape?
      • Is ABConsent compatible with Addingwell?
    • Google Consent Mode V2
      • Google Consent Mode V2 utility
      • News Google Consent Mode V2
      • Advanced mode or basic mode
    • Packaging
      • Cookies management
      • Tags packaging
    • Cookie settings
    • Button operation
    • Button color
    • A/B test
    • Mobile, tablets ...
    • Multi-sites
    • Mobile display
    • Private browsing
    • AMP consent
    • AMP consent button
    • Tags conditionning
    • Google Ads
    • Error 6.1 Google
    • Google PageSpeed
    • Refusal & Targeted ads
    • Mozilla and adblocks
    • Wordpress, Joomla, etc ...
    • Shopify
    • Pricing
      • The Two Types of Licenses
      • What happens when I reach the limit of my monthly plan?
      • Do you offer a trial period?
      • What are the accepted payment methods?
      • Do you offer packages for very high volumes of hits?
      • Are unused hits carried over to the next month?
      • What is considered a Hit?
      • Can I change plans?
    • Content Security Policy (CSP)
    • Google
      • Problem gclid google
      • Google extensions
    • How to Verify the Integration of My CMP?
    • How to Identify the Cookies Present on Your Website?
    • Abconsent CMP is compatible with Taggr ?
  • CMP Services
    • CMP Configuration
    • CMP Integration
    • Tag Conditioning
    • Compliance audit
    • Extra-vendorlist
    • Video-Wall
    • Inventory Partners
    • Consulting
  • Links
    • Configure your CMP
    • Sirdata API
    • Semantic API
    • About Sirdata
    • Analytics Helper
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. INSTALL
  2. Cache Systems Exclusion

WP Rocket WordPress Plugin

WP Rocket is a premium caching plugin for WordPress designed to enhance your website’s performance by optimizing page loading speeds. However, Sirdata CMP scripts must be excluded from optimizations to ensure proper functionality and compliance. Follow these steps to configure the exclusions.


Steps to Exclude Sirdata CMP's Hosts in WP Rocket

  1. Access WP Rocket Settings

    • Log in to your WordPress Admin Dashboard.

    • Navigate to Settings > WP Rocket.

  2. Exclude Hosts from JavaScript Optimization

    • In the WP Rocket settings menu, click on the File Optimization tab.

    • Scroll down to the JavaScript Files section.

    • Locate the Excluded JavaScript Files field.

    • Add the following entries to the field (one per line):

      .consentframework.com
      .abconsent.net
  3. Exclude Hosts from Deferred JavaScript

    • In the same File Optimization tab, find the Deferred JavaScript Exclusions field.

    • Add the same entries to this field:

      .consentframework.com
      .abconsent.net
  4. Exclude Hosts from Delayed JavaScript Execution

    • In the File Optimization tab, locate the Delay JavaScript Execution section.

    • Under the Excluded JavaScript field, add the following entries:

      .consentframework.com
      .abconsent.net
  5. Save Changes

    • Once you’ve added the exclusions in all the relevant fields, scroll down and click the Save Changes button to apply the settings.

  6. Purge Cache

    • Navigate to the Dashboard tab in WP Rocket.

    • Click the Clear Cache button to ensure that all cached files are refreshed with the updated exclusion rules.


Why These Exclusions Are Important

  • Compliance with Dynamic Content: The scripts hosted on .consentframework.com and .abconsent.net are geolocated and dynamic, meaning they adapt to the user’s location and preferences. Caching or delaying these scripts can result in incorrect or outdated content being served.

  • Regulatory Compliance: These scripts are essential for ensuring compliance with evolving privacy laws. Any interference through caching or optimization can lead to regulatory violations or loss of functionality.


By following these steps, WP Rocket will exclude the specified hosts from caching and JavaScript optimizations, ensuring proper functionality and compliance.

PrécédentWP Meteor Plugin for WordpressSuivantIntroduction

Dernière mise à jour il y a 5 mois

Cet article vous a-t-il été utile ?