From 3d4963d0993997512440565d24dd52efee208b5d Mon Sep 17 00:00:00 2001 From: Yuri Salimovskiy Date: Wed, 10 May 2023 11:15:47 +0300 Subject: [PATCH] Remove FLoC header from docs --- docs/add-ons/http-header.md | 81 ++++++++++--------- .../general/system-configuration-overrides.md | 12 --- 2 files changed, 42 insertions(+), 51 deletions(-) diff --git a/docs/add-ons/http-header.md b/docs/add-ons/http-header.md index 108a24366..f8961ba97 100755 --- a/docs/add-ons/http-header.md +++ b/docs/add-ons/http-header.md @@ -25,42 +25,45 @@ This is a single tag that will set a 410 "Gone" status on the request. Here are the available parameters: -|Parameter|Corresponding HTTP Header / Instructions| -|--- |--- | -|access_control_allow_credentials=|Access-Control-Allow-Credentials| -|access_control_allow_headers=|Access-Control-Allow-Headers| -|access_control_allow_methods=|Access-Control-Allow-Methods| -|access_control_allow_origin=|Access-Control-Allow-Origin| -|access_control_expose_headers=|Access-Control-Expose-Headers| -|access_control_max_age=|Access-Control-Max-Age| -|alt_svc=|Alt-Svc| -|cache_control=|Cache-Control| -|charset=|charset to use with the content_type parameter.| -|content_disposition=|Content-Disposition - You can manually write out the full header value (i.e. attachment; filename="example.txt"), or just use a value of "attachmenet" and use the filename= parameter.| -|content_encoding=|Content-Encoding| -|content_language=|Content-Language| -|content_length=|Content-Length| -|content_location=|Content-Location| -|content_md5=|Content-MD5| -|content_range=|Content-Range| -|content_type=|Content-Type - You can manually write out the full header value (i.e. text/html; charset=UTF-8) or you can simply specify the type and use the charset= parameter.| -|etag=|ETag| -|expires=|Expires - You can use relative date such as "+1 day";| -|filename=|When content_disposition is set to attachment, this sets the filename.| -|last_modified=|Last-Modified - You can use relative date such as "+1 day";| -|link=|Link| -|location=|Location| -|permissions_policy|Permissions-Policy (set to `interest-cohort=()` to opt out of FLoC)| -|pragma=|Pragma| -|refresh=|Refresh - You can manually write out the full header value (i.e. 5; url=https://example.com/), or just set the refresh value in seconds and use the url= parameter.| -|retry_after=|Retry-After - You can either specify a number of seconds or use relative dates (i.e. "+90 mins").| -|status=|Status| -|tk=|Tk| -|url=|URL to use in the refresh parameter.| -|vary=|Vary| -|via=|Via| -|warning=|Warning| -|x_content_duration=|X-Content-Duration| -|x_content_type_options=|X-Content-Type-Options| -|x_frame_options=|X-Frame-Options| -|x_ua_compatible=|X-UA-Compatible| +| Parameter | Corresponding HTTP Header / Instructions| +|----------------------------------- |---------------------------------------- | +|access_control_allow_credentials= |Access-Control-Allow-Credentials| +|access_control_allow_headers= |Access-Control-Allow-Headers| +|access_control_allow_methods= |Access-Control-Allow-Methods| +|access_control_allow_origin= |Access-Control-Allow-Origin| +|access_control_expose_headers= |Access-Control-Expose-Headers| +|access_control_max_age= |Access-Control-Max-Age| +|alt_svc= |Alt-Svc| +|cache_control= |Cache-Control| +|charset= |charset to use with the content_type parameter.| +|content_disposition= |Content-Disposition - You can manually write out the full header value (i.e. attachment; filename="example.txt"), or just use a value of "attachmenet" and use the filename= parameter.| +|content_encoding= |Content-Encoding| +|content_language= |Content-Language| +|content_length= |Content-Length| +|content_location= |Content-Location| +|content_md5= |Content-MD5| +|content_range= |Content-Range| +|content_type= |Content-Type - You can manually write out the full header value (i.e. text/html; charset=UTF-8) or you can simply specify the type and use the charset= parameter.| +|etag= |ETag| +|expires= |Expires - You can use relative date such as "+1 day";| +|filename= |When content_disposition is set to `attachment`, this sets the filename.| +|last_modified= |Last-Modified - You can use relative date such as "+1 day";| +|link= |Link| +|location= |Location| +|permissions_policy= |Permissions-Policy| +|pragma= |Pragma| +|refresh= |Refresh - You can manually write out the full header value (i.e. 5; url=https://example.com/), or just set the refresh value in seconds and use the url= parameter.| +|retry_after= |Retry-After - You can either specify a number of seconds or use relative dates (i.e. "+90 mins").| +|status= |Status| +|tk= |Tk| +|url= |URL to use in the refresh parameter.| +|vary= |Vary| +|via= |Via| +|warning= |Warning| +|x_content_duration= |X-Content-Duration| +|x_content_type_options= |X-Content-Type-Options| +|x_frame_options= |X-Frame-Options| +|x_ua_compatible= |X-UA-Compatible| + + +NOTE: **Note:** The plugin can only be used in templates that are not being cached. \ No newline at end of file diff --git a/docs/general/system-configuration-overrides.md b/docs/general/system-configuration-overrides.md index 414d05a2b..3d4a20746 100755 --- a/docs/general/system-configuration-overrides.md +++ b/docs/general/system-configuration-overrides.md @@ -1248,18 +1248,6 @@ Example Usage: **Also found in CP:** `Settings --> Hit Tracking`: [Enable Channel Entry View Tracking](control-panel/settings/hit-tracking.md#enable-entry-view-tracking) -### `enable_floc` - -By default, ExpressionEngine sends a header to disable FLoC in the browser. If this is enabled, the Permissions Policy header will not be sent. - -| Value | Behavior | -| ----- | ----------------------------------- | -| y | Enable FLoC from the server side | - -Example Usage: - - $config['enable_floc'] = 'y'; - ### `enable_frontedit` When set to `n`, completely disables [front-end editing](advanced-usage/front-end/frontend.md) while keeping Dock visible and Prolets functional.