Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Cache: Reduce browser cache to 8 hours
Browse files Browse the repository at this point in the history
Szenario: Users open the page at 22:00 and need fresh data at 6:00 on the next day.
  • Loading branch information
tordans committed Mar 19, 2024
1 parent 5f43f6d commit 71b3350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ http {
add_header X-Cache-Status $upstream_cache_status;

# Browser cache
expires 18h;
expires 8h;
add_header Cache-Control "public, no-transform";
}

Expand Down

0 comments on commit 71b3350

Please sign in to comment.