From 484c7e07d1415cdfa4ef1f785d75790ec5ff1a2c Mon Sep 17 00:00:00 2001 From: Issy Long Date: Fri, 1 Sep 2023 00:46:10 +0100 Subject: [PATCH] Cache the external links for an hour, and ignore GitHub.com --- docs/Rakefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/Rakefile b/docs/Rakefile index bbb8bd3a12..b0b6a9a5e4 100644 --- a/docs/Rakefile +++ b/docs/Rakefile @@ -29,8 +29,13 @@ task test: :build do %r{Kickstarter-Supporters}, ], ignore_urls: [ - "http://formulae.brew.sh", - %r{https://github.com/Homebrew/brew/edit/gh-pages//}, - ] + %r{https://formulae.brew.sh"}, + %r{https://github.com/} + ], + cache: { + timeframe: { + external: "1h" + } + } ).run end