File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
platformsh/common/4.6/.platform Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,7 @@ sub vcl_backend_response {
133
133
134
134
// Compressing the content
135
135
if (beresp.http.Content-Type ~ " application/javascript"
136
- || beresp.http.Content-Type ~ " application/json"
137
136
|| beresp.http.Content-Type ~ " application/vnd.ms-fontobject"
138
- || beresp.http.Content-Type ~ " application/vnd.ibexa.api"
139
137
|| beresp.http.Content-Type ~ " application/x-font-ttf"
140
138
|| beresp.http.Content-Type ~ " image/svg+xml"
141
139
|| beresp.http.Content-Type ~ " text/css"
Original file line number Diff line number Diff line change 119
119
120
120
# Enable gzip encoding
121
121
<IfModule mod_deflate.c>
122
- AddOutputFilterByType DEFLATE text/plain text/css application/json text/javascript application/javascript text/xml application /xml application/xml+rss
122
+ AddOutputFilterByType DEFLATE text/plain text/css text/javascript application/javascript text/xml application/xml+rss
123
123
# NOTE: Using gzip on text/html can be a security issue. See http://breachattack.com.
124
124
</IfModule>
125
125
</VirtualHost>
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ server {
25
25
26
26
# Gzip is enabled by default on most platforms, so here we just specify mime types to compress.
27
27
# NOTE: Using gzip on text/html can be a security issue, unless you somehow pad. See http://breachattack.com
28
- gzip_types text/plain text/css application/json text/javascript application/javascript text/xml application /xml application/xml+rss;
28
+ gzip_types text/plain text/css text/javascript application/javascript text/xml application/xml+rss;
29
29
30
30
location / {
31
31
location ~ ^/index\.php(/|$) {
You can’t perform that action at this time.
0 commit comments