diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-08-03 02:02:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:22:15 +0200 |
commit | aad0ec24e886a93c5f85cbb8eb4c31ff5e973e1a (patch) | |
tree | 6a54425465578ddc1c6d5a3bc9c220d3653b5722 /server/initializers/constants.ts | |
parent | 9a12f169c15b638fe78cf6e85a1993550a25e404 (diff) | |
download | PeerTube-aad0ec24e886a93c5f85cbb8eb4c31ff5e973e1a.tar.gz PeerTube-aad0ec24e886a93c5f85cbb8eb4c31ff5e973e1a.tar.zst PeerTube-aad0ec24e886a93c5f85cbb8eb4c31ff5e973e1a.zip |
advertising PeerTube's rather simple DNT policy
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 069d9b2e8..74fe7965d 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -55,6 +55,7 @@ const ROUTE_CACHE_LIFETIME = { | |||
55 | FEEDS: '15 minutes', | 55 | FEEDS: '15 minutes', |
56 | ROBOTS: '2 hours', | 56 | ROBOTS: '2 hours', |
57 | NODEINFO: '10 minutes', | 57 | NODEINFO: '10 minutes', |
58 | DNT_POLICY: '1 week', | ||
58 | ACTIVITY_PUB: { | 59 | ACTIVITY_PUB: { |
59 | VIDEOS: '1 second' // 1 second, cache concurrent requests after a broadcast for example | 60 | VIDEOS: '1 second' // 1 second, cache concurrent requests after a broadcast for example |
60 | } | 61 | } |