Skip to content

Commit ae39411

Browse files
author
Hayder Sharhan
committed
MAGETWO-49876: Add improvements for varnish vcl files #2028
- Added jpeg to filtered list.
1 parent 95d9758 commit ae39411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/etc/varnish4.vcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sub vcl_recv {
5353

5454
# Compression filter. See https://www.varnish-cache.org/trac/wiki/FAQ/Compression
5555
if (req.http.Accept-Encoding) {
56-
if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf|flv)$") {
56+
if (req.url ~ "\.(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf|flv)$") {
5757
# No point in compressing these
5858
unset req.http.Accept-Encoding;
5959
} elsif (req.http.Accept-Encoding ~ "gzip") {

0 commit comments

Comments
 (0)