From e5d6070a4dae612dd89d862b83970e52ea7d3161 Mon Sep 17 00:00:00 2001 From: Hendrik Luehrsen Date: Tue, 20 Apr 2021 17:18:00 +0200 Subject: [PATCH] Minor fixes --- build/inc/FLoC/Component.php | 2 +- build/readme.txt | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/build/inc/FLoC/Component.php b/build/inc/FLoC/Component.php index 427a044..6124e4f 100644 --- a/build/inc/FLoC/Component.php +++ b/build/inc/FLoC/Component.php @@ -72,7 +72,7 @@ public function blocking_methods( $methods = array() ) { $methods['apache'] = array( 'title' => __( 'Apache / .htaccess' ), 'callback' => array( $this, 'initialize_apache' ), - 'description' => __( 'When you have to override your theme. Works on apache servers with the "mod_headers" module installed. Writes the header into the .htaccess file.', 'wpm-floc' ), + 'description' => __( 'When you have to circumvent your cache. Works on apache servers with the "mod_headers" module installed. Writes the header into the .htaccess file.', 'wpm-floc' ), ); return $methods; diff --git a/build/readme.txt b/build/readme.txt index e263897..5bdc460 100644 --- a/build/readme.txt +++ b/build/readme.txt @@ -29,10 +29,18 @@ If you are a developer, we encourage you to follow along or [contribute](https:/ - [**Brave Browser** - Why Brave disables FLoC](https://brave.com/why-brave-disables-floc/) - [The **WICG** Draft for FLoC](https://wicg.github.io/floc/) +## Blocking Methods + +This plugin offers different methods implement the FLoC blocking HTTP header. + +- **None / Allow FLoC**: This method does not provide an opt-out from FLoC. +- **Simple / PHP**: Works for most WordPress setups. Uses the "wp_headers" filter to provide the HTTP header. +- **Apache / .htaccess**: When you have to circumvent your cache. Only works on apache servers with the "mod_headers" module installed. Writes the HTTP header into the .htaccess file. + ## Compatibility with Cache Plugins This plugin relies on the ability to deliver HTTP headers to the browser. Some Cache Plugins actively strip these HTTP headers and therefore invalidate the purpose of this plugin. -These cache plugins are known to be compatible: +These cache plugins are known to be compatible with the **Simple** method: - [**WP Super Cache**](https://wordpress.org/plugins/wp-super-cache/) - You have to activate the "*Cache HTTP headers with page content.*" checkbox in the Advanced Tab of the WP Super Cache Settings.