luludotdev / beatsaver-reloaded

BeatSaver Again
ISC License
181 stars 50 forks source link

Add 1 day of cache to CDN route #124

Closed byhemechi closed 3 years ago

byhemechi commented 3 years ago

Proposed Changes

I've add a max-age directive to the cdn route, this will cause cloudflare to cache zip downloads for a day, significantly reducing origin load

Platforms

This pull request modifies: (select all that apply)

Types of Changes

This pull request is contains: (select all that apply)

Checklist

Further Comments

I've set the maxage to 24 hours, which is pretty short. This can definitely be increased.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.