Skip to content

Commit

Permalink
Reduce CdnMaxAge to 15 minutes
Browse files Browse the repository at this point in the history
Only cache page in CDN for 15 minutes because purging CF is broken
  • Loading branch information
alistair3149 authored May 27, 2024
1 parent 9c1b7ac commit a14dc80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
# IP range: https://www.cloudflare.com/ips/
$wgUsePrivateIPs = true;
$wgUseCdn = true;
# 15 minutes, move to a longer time when MultiPurge is fixed
$wgCdnMaxAge = 900;
$wgCdnServersNoPurge = [
'194.233.168.70', # Linode Loadbalancer
'10.0.0.0/8',
Expand Down

0 comments on commit a14dc80

Please sign in to comment.