1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Commit Graph

16 Commits

Author SHA1 Message Date
Kevin Heis
cd9906a488 Add note about max-age header (#36130) 2023-04-03 17:36:57 +00:00
Kevin Heis
641f9d2083 Implement stale-if-error via response header (#33253) 2022-12-08 15:51:38 +00:00
Kevin Heis
e791da01a6 Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
Kevin Heis
bac5f8a62a Enable stale-while-revalidate and stale-if-error (response headers only) (#33010) 2022-12-05 20:51:58 +00:00
Kevin Heis
b7d6ee0853 Cache language redirects (#33028) 2022-12-01 20:01:52 +00:00
Kevin Heis
f161f86ca1 Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
Peter Bengtsson
85e2f62a69 also send surrogate-control:no-store,private,max-age=0 on / (#31661) 2022-10-12 22:39:47 +00:00
Evan Bonsignori
b1a36fb7ff Revert "set max-age=0 when you want no cache (#31657)"
This reverts commit 5dfca10bba.
2022-10-12 13:10:34 -07:00
Peter Bengtsson
5dfca10bba set max-age=0 when you want no cache (#31657) 2022-10-12 19:54:28 +00:00
Peter Bengtsson
ec302a668d simplify and improve default cache-control headers (#30162)
simply and perfect cache-control headers
2022-08-22 19:57:42 +00:00
Kevin Heis
688a274f1f Remove CSRF check (#29910)
* Use color_mode for gating "sign up" button

* Remove csrf check

* Add `res.removeHeader('set-cookie')` to cache-control

* Update static-assets.js

* Remove package

* Remove tough-cookie

* Update cache-control.js

* Update cache-control.js

* Update cache-control.js
2022-08-15 19:28:42 +00:00
Kevin Heis
928b01d1e3 Cache in fastly much longer than browser (#29682)
* Cache in fastly much longer than browser

* Update render-page.js

* Update cache-control.js
2022-08-05 22:59:14 +00:00
Kevin Heis
a16aeac936 Prepare render-page for re-enabling HTML caching (#29473)
* Prepare render-page for re-enabling HTML caching

* Prepare render-page for re-enabling HTML caching

* Prepare render-page for re-enabling HTML caching

* Update healthz.js

* Pre calculate cache control directives

* Update render-page.js
2022-07-29 19:49:36 +00:00
Peter Bengtsson
a867973876 serve /apple-touch-icon.png (#25371)
* serve apple-touch-icon.png

* rename

* 'directives'

* use a lazy but caching pattern

* update code comment
2022-02-15 21:35:08 +00:00
Peter Bengtsson
ddd14479c5 24h cache all internal redirects without language prefix (#23354)
Part of #1271
2021-12-03 21:51:04 +00:00
Peter Bengtsson
5c2777a8f6 aggressive cache-control on archived redirects (#23091)
Part of #1271
2021-11-30 13:17:17 +00:00