Skip to content

Commit d7ab617

Browse files
authored
Merge branch 'development' into pv-amend
2 parents 9cb6862 + 3923118 commit d7ab617

19 files changed

+1067
-528
lines changed

.platform.app.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,24 @@ web:
165165
'/sites/default/files':
166166
# Allow access to all files in the public files directory.
167167
allow: true
168-
expires: 1d
168+
expires: 5m
169169
passthru: '/index.php'
170170
root: 'web/sites/default/files'
171171

172172
# Do not execute PHP scripts.
173173
scripts: false
174174

175175
rules:
176-
# Provide a longer TTL (2 weeks) for aggregated CSS and JS files.
176+
# Allow a longer Fastly TTL for publication files
177+
'^/sites/default/files/':
178+
headers:
179+
Surrogate-Control: max-age=31536000
180+
# Provide a longer TTL for aggregated CSS and JS files.
177181
'^/sites/default/files/(css|js)':
178-
expires: 2w
182+
expires: 1y
183+
# Provide a longer TTL for Drupal image files.
184+
'^/sites/default/files/styles/[^\.]+\.(jpe?g|png|gif|svgz?)$':
185+
expires: 4w
179186
crons:
180187
# Log shipping cron.
181188
logging:

composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"drupal/views_data_export": "^1.0",
151151
"drupal/webform": "^6.2",
152152
"drupal/whatlinkshere": "^2.1",
153-
"drupal/xls_serialization": "^1.4",
153+
"drupal/xls_serialization": "^2.0",
154154
"drush/drush": "^12.5",
155155
"geocoder-php/google-maps-provider": "^4.6",
156156
"harvesthq/chosen": "^1.8",
@@ -196,7 +196,8 @@
196196
"oomphinc/composer-installers-extender": true,
197197
"phpstan/extension-installer": true,
198198
"zaporylie/composer-drupal-optimizations": true,
199-
"php-http/discovery": true
199+
"php-http/discovery": true,
200+
"tbachert/spi": true
200201
}
201202
},
202203
"extra": {

0 commit comments

Comments
 (0)