Skip to content

Change Cache-Control default max-age to one minute#20

Merged
lann merged 1 commit into
spinframework:mainfrom
lann:shorter-default-max-age
Nov 14, 2022
Merged

Change Cache-Control default max-age to one minute#20
lann merged 1 commit into
spinframework:mainfrom
lann:shorter-default-max-age

Conversation

@lann
Copy link
Copy Markdown
Contributor

@lann lann commented Oct 29, 2022

The extremely long cache expiration doesn't match usage.

Also clean up a minor clippy lint.

@lann lann requested a review from radu-matei October 29, 2022 16:36
@lann
Copy link
Copy Markdown
Contributor Author

lann commented Oct 29, 2022

@technosophos FYI

@lann lann force-pushed the shorter-default-max-age branch from 8e02d87 to 7ba1cc9 Compare October 29, 2022 16:39
@mikkelhegn
Copy link
Copy Markdown
Contributor

Should this be a configuration in spin.toml?

@lann
Copy link
Copy Markdown
Contributor Author

lann commented Nov 11, 2022

It is. Hence "default" 🙂

@mikkelhegn
Copy link
Copy Markdown
Contributor

👯‍♂️ - It's Friday!!! (trying to come up with an excuse...)

The extremely long cache expiration doesn't match usage.

Also clean up a minor clippy lint.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
@lann lann force-pushed the shorter-default-max-age branch from 7ba1cc9 to c17750e Compare November 11, 2022 20:07
@lann lann merged commit ae9d2f6 into spinframework:main Nov 14, 2022
@lann lann deleted the shorter-default-max-age branch November 14, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants