|
|
|
|
|
by Rauchg
1165 days ago
|
|
Totally, I don't like surprising behaviors either. At the time we made that decision the `CDN-Cache-Control` proposal didn't exist, so it was a tricky spot. There also really wasn't a UI opportunity in this case (although one thing we thought about was a setting to control it and turn off the Vercel override). |
|
Why, because the configuration is set in a text file and not in the UI?
You could send an automatic email to the account holder with the warning whenever someone adds a foot-gun cache-control setting, with the ability to turn off the email by setting a different configuration flag to true or by checking a flag in the UI.