Skip to content

Commit b65b2fc

Browse files
committed
chore: reduce proxy_cache size to 10m (single JS file)
1 parent 137f154 commit b65b2fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/nginx.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ http {
1010
server_tokens off;
1111

1212
# Proxy cache using /dev/shm (tmpfs, survives dyno restarts)
13-
proxy_cache_path /dev/shm/jscache levels=1:2 keys_zone=jscache:10m inactive=30d use_temp_path=off max_size=100m;
13+
proxy_cache_path /dev/shm/jscache levels=1:2 keys_zone=jscache:1m inactive=30d use_temp_path=off max_size=10m;
1414

1515
# Security headers (set at http level to apply to all responses)
1616
add_header X-Frame-Options "SAMEORIGIN" always;

0 commit comments

Comments
 (0)