Skip to content

Commit 098bd09

Browse files
committed
Remove FLoC header from docs
1 parent 9c55d05 commit 098bd09

File tree

2 files changed

+42
-51
lines changed

2 files changed

+42
-51
lines changed

docs/add-ons/http-header.md

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -25,42 +25,45 @@ This is a single tag that will set a 410 "Gone" status on the request.
2525

2626
Here are the available parameters:
2727

28-
|Parameter|Corresponding HTTP Header / Instructions|
29-
|--- |--- |
30-
|access_control_allow_credentials=|Access-Control-Allow-Credentials|
31-
|access_control_allow_headers=|Access-Control-Allow-Headers|
32-
|access_control_allow_methods=|Access-Control-Allow-Methods|
33-
|access_control_allow_origin=|Access-Control-Allow-Origin|
34-
|access_control_expose_headers=|Access-Control-Expose-Headers|
35-
|access_control_max_age=|Access-Control-Max-Age|
36-
|alt_svc=|Alt-Svc|
37-
|cache_control=|Cache-Control|
38-
|charset=|charset to use with the content_type parameter.|
39-
|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.|
40-
|content_encoding=|Content-Encoding|
41-
|content_language=|Content-Language|
42-
|content_length=|Content-Length|
43-
|content_location=|Content-Location|
44-
|content_md5=|Content-MD5|
45-
|content_range=|Content-Range|
46-
|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.|
47-
|etag=|ETag|
48-
|expires=|Expires - You can use relative date such as "+1 day";|
49-
|filename=|When content_disposition is set to attachment, this sets the filename.|
50-
|last_modified=|Last-Modified - You can use relative date such as "+1 day";|
51-
|link=|Link|
52-
|location=|Location|
53-
|permissions_policy|Permissions-Policy (set to `interest-cohort=()` to opt out of FLoC)|
54-
|pragma=|Pragma|
55-
|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.|
56-
|retry_after=|Retry-After - You can either specify a number of seconds or use relative dates (i.e. "+90 mins").|
57-
|status=|Status|
58-
|tk=|Tk|
59-
|url=|URL to use in the refresh parameter.|
60-
|vary=|Vary|
61-
|via=|Via|
62-
|warning=|Warning|
63-
|x_content_duration=|X-Content-Duration|
64-
|x_content_type_options=|X-Content-Type-Options|
65-
|x_frame_options=|X-Frame-Options|
66-
|x_ua_compatible=|X-UA-Compatible|
28+
| Parameter | Corresponding HTTP Header / Instructions|
29+
|----------------------------------- |---------------------------------------- |
30+
|access_control_allow_credentials= |Access-Control-Allow-Credentials|
31+
|access_control_allow_headers= |Access-Control-Allow-Headers|
32+
|access_control_allow_methods= |Access-Control-Allow-Methods|
33+
|access_control_allow_origin= |Access-Control-Allow-Origin|
34+
|access_control_expose_headers= |Access-Control-Expose-Headers|
35+
|access_control_max_age= |Access-Control-Max-Age|
36+
|alt_svc= |Alt-Svc|
37+
|cache_control= |Cache-Control|
38+
|charset= |charset to use with the content_type parameter.|
39+
|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.|
40+
|content_encoding= |Content-Encoding|
41+
|content_language= |Content-Language|
42+
|content_length= |Content-Length|
43+
|content_location= |Content-Location|
44+
|content_md5= |Content-MD5|
45+
|content_range= |Content-Range|
46+
|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.|
47+
|etag= |ETag|
48+
|expires= |Expires - You can use relative date such as "+1 day";|
49+
|filename= |When content_disposition is set to `attachment`, this sets the filename.|
50+
|last_modified= |Last-Modified - You can use relative date such as "+1 day";|
51+
|link= |Link|
52+
|location= |Location|
53+
|permissions_policy= |Permissions-Policy|
54+
|pragma= |Pragma|
55+
|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.|
56+
|retry_after= |Retry-After - You can either specify a number of seconds or use relative dates (i.e. "+90 mins").|
57+
|status= |Status|
58+
|tk= |Tk|
59+
|url= |URL to use in the refresh parameter.|
60+
|vary= |Vary|
61+
|via= |Via|
62+
|warning= |Warning|
63+
|x_content_duration= |X-Content-Duration|
64+
|x_content_type_options= |X-Content-Type-Options|
65+
|x_frame_options= |X-Frame-Options|
66+
|x_ua_compatible= |X-UA-Compatible|
67+
68+
69+
NOTE: **Note:** The plugin can only be used in templates that are not being cached.

docs/general/system-configuration-overrides.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,18 +1256,6 @@ Example Usage:
12561256

12571257
**Also found in CP:** `Settings --> Hit Tracking`: [Enable Channel Entry View Tracking](control-panel/settings/hit-tracking.md#enable-entry-view-tracking)
12581258

1259-
### `enable_floc`
1260-
1261-
By default, ExpressionEngine sends a header to disable FLoC in the browser. If this is enabled, the Permissions Policy header will not be sent.
1262-
1263-
| Value | Behavior |
1264-
| ----- | ----------------------------------- |
1265-
| y | Enable FLoC from the server side |
1266-
1267-
Example Usage:
1268-
1269-
$config['enable_floc'] = 'y';
1270-
12711259
### `enable_frontedit`
12721260

12731261
When set to `n`, completely disables [front-end editing](advanced-usage/front-end/frontend.md) while keeping Dock visible and Prolets functional.

0 commit comments

Comments
 (0)