Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test/remove 2.4.4 #4

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
738d768
fix #682
dpotkoc Jan 11, 2024
6ae7fae
updating to DataDome Fastly Module 2.19.4
MickaelDatadome Jan 16, 2024
63d7602
Merge branch 'master' into datadome-2.19.4
MickaelDatadome Jan 16, 2024
ce32d82
Merge pull request #685 from DataDome/datadome-2.19.4
vvuksan Jan 30, 2024
292b490
Merge pull request #684 from favicode/fix/real-time-logging-v2
vvuksan Jan 30, 2024
e700354
Bump to 1.2.212
vvuksan Jan 30, 2024
21a7132
ci: Use GITHUB_OUTPUT envvar instead of set-output command
arunsathiya Feb 6, 2024
0631b57
Module and documentation updates
mizdebski-netacea Feb 9, 2024
ad1cc76
Documenation wording change
mizdebski-netacea Feb 9, 2024
83663a9
Spelling fix
mizdebski-netacea Feb 9, 2024
de57a20
Add support for Brotli static compression
vvuksan Feb 13, 2024
4262d2b
Merge pull request #687 from mizdebski-netacea/documentation-and-modu…
vvuksan Feb 13, 2024
1238194
Merge pull request #688 from fastly/brotli
vvuksan Feb 13, 2024
f48a796
Merge pull request #686 from arunsathiya/master
vvuksan Feb 13, 2024
2da1203
Add testing for 2.4.6 and PHP 8.3
vvuksan Feb 13, 2024
183810f
Bump to 1.2.213
vvuksan Feb 13, 2024
775b5a1
Merge branch 'brotli'
vvuksan Feb 13, 2024
a4416ca
Rate limiting improvement
dpotkoc Mar 7, 2024
8a3ea3e
fix code quality
dpotkoc Mar 7, 2024
c8dcab8
Merge pull request #689 from favicode/fix/rate-limiting
vvuksan Mar 7, 2024
a5748c1
Bump to 1.2.214
Mar 7, 2024
d985098
Netacea Magento module updated with additional logging
mizdebski-netacea Mar 8, 2024
a0622b7
Fix for checking if current IP is in maintenance IP list
ivanviduka Mar 14, 2024
2f4e11b
Merge pull request #692 from favicode/fix/maintenance-ips-in-rate-lim…
vvuksan Mar 27, 2024
8c97f4c
Bump to 1.2.215
Mar 27, 2024
1694050
fix GEOIP redirection causes 404 #693
dpotkoc Apr 8, 2024
a49a155
Merge pull request #694 from favicode/fix/geoip
vvuksan Apr 8, 2024
fdd616c
Bump to 1.2.216
Apr 8, 2024
a7dd24b
Merge branch 'master' into chore/PE2-1049/additional-logging
mizdebski-netacea May 6, 2024
8e763fb
Merge pull request #690 from mizdebski-netacea/chore/PE2-1049/additio…
vvuksan May 8, 2024
0ed56f1
Bump to 1.2.217
May 8, 2024
cdb3a34
Netacea Magento module updated with PURGE requests handling
mizdebski-netacea May 9, 2024
37969c8
Fixing deprecated usage - adding cast to string and tags size check
ivanviduka May 13, 2024
0d33b66
Merge branch 'master' into feat/PEB-756/purge-requests-handling
mizdebski-netacea May 24, 2024
7df0309
Merge pull request #697 from favicode/fix/deprecated-functionality
vvuksan May 24, 2024
f8cf114
Merge pull request #696 from mizdebski-netacea/feat/PEB-756/purge-req…
vvuksan May 24, 2024
993a7be
Remove 2.4.4 test
ivanviduka May 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion etc/vcl_snippets/fetch.vcl
Original file line number Diff line number Diff line change
@@ -52,7 +52,9 @@
if (!beresp.http.Vary ~ "Accept-Encoding") {
set beresp.http.Vary:Accept-Encoding = "";
}
if (req.http.Accept-Encoding == "gzip") {
if (req.http.Accept-Encoding == "br") {
set beresp.brotli = true;
} else if (req.http.Accept-Encoding == "gzip") {
set beresp.gzip = true;
}
}
7 changes: 7 additions & 0 deletions etc/vcl_snippets/recv.vcl
Original file line number Diff line number Diff line change
@@ -106,6 +106,13 @@
set req.http.Https = "on";
}

# Add support for Brotli static compression
if (req.http.Fastly-Orig-Accept-Encoding) {
if (req.http.Fastly-Orig-Accept-Encoding ~ "\bbr\b") {
set req.http.Accept-Encoding = "br";
}
}

if (fastly.ff.visits_this_service > 0) {
# disable ESI processing on Origin Shield
set req.esi = false;