Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
https-github-com-mervekaya1992
docs-1
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
docs-1
middleware
cache-control.js
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 8, 2022
Implement stale-if-error via response header (#33253)
heiskr
authored
641f9d2
View commit details
Copy full SHA for 641f9d2
View code at this point
Browse repository at this point
Commits on Dec 6, 2022
Remove cacheControlFactory export (#33255)
heiskr
authored
e791da0
View commit details
Copy full SHA for e791da0
View code at this point
Browse repository at this point
Commits on Dec 5, 2022
Enable stale-while-revalidate and stale-if-error (response headers only) (#33010)
heiskr
authored
bac5f8a
View commit details
Copy full SHA for bac5f8a
View code at this point
Browse repository at this point
Commits on Dec 1, 2022
Cache language redirects (#33028)
heiskr
authored
b7d6ee0
View commit details
Copy full SHA for b7d6ee0
View code at this point
Browse repository at this point
Commits on Nov 30, 2022
Combine cache control (#33067)
heiskr
authored
f161f86
View commit details
Copy full SHA for f161f86
View code at this point
Browse repository at this point
Commits on Oct 12, 2022
also send surrogate-control:no-store,private,max-age=0 on / (#31661)
Peter Bengtsson
authored
85e2f62
View commit details
Copy full SHA for 85e2f62
View code at this point
Browse repository at this point
Revert "set max-age=0 when you want no cache (#31657)"
Show description for b1a36fb
Ebonsignori
authored
b1a36fb
View commit details
Copy full SHA for b1a36fb
View code at this point
Browse repository at this point
set max-age=0 when you want no cache (#31657)
Peter Bengtsson
authored
5dfca10
View commit details
Copy full SHA for 5dfca10
View code at this point
Browse repository at this point
Commits on Aug 22, 2022
simplify and improve default cache-control headers (#30162)
Show description for ec302a6
Peter Bengtsson
authored
ec302a6
View commit details
Copy full SHA for ec302a6
View code at this point
Browse repository at this point
Commits on Aug 15, 2022
Remove CSRF check (#29910)
Show description for 688a274
heiskr
authored
688a274
View commit details
Copy full SHA for 688a274
View code at this point
Browse repository at this point
Commits on Aug 5, 2022
Cache in fastly much longer than browser (#29682)
Show description for 928b01d
heiskr
authored
928b01d
View commit details
Copy full SHA for 928b01d
View code at this point
Browse repository at this point
Commits on Jul 29, 2022
Prepare render-page for re-enabling HTML caching (#29473)
Show description for a16aeac
heiskr
authored
a16aeac
View commit details
Copy full SHA for a16aeac
View code at this point
Browse repository at this point
Commits on Feb 15, 2022
serve /apple-touch-icon.png (#25371)
Show description for a867973
peterbe
authored
a867973
View commit details
Copy full SHA for a867973
View code at this point
Browse repository at this point
Commits on Dec 3, 2021
24h cache all internal redirects without language prefix (#23354)
Show description for ddd1447
Peter Bengtsson
authored
ddd1447
View commit details
Copy full SHA for ddd1447
View code at this point
Browse repository at this point
Commits on Nov 30, 2021
aggressive cache-control on archived redirects (#23091)
Show description for 5c2777a
Peter Bengtsson
authored
5c2777a
View commit details
Copy full SHA for 5c2777a
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.