perf: implement caching of static files
This commit is contained in:
@@ -5,4 +5,6 @@ URL=http://localhost:3000
|
||||
# enviorment
|
||||
NODE_ENV=production
|
||||
# change image quality
|
||||
IMAGE_QUALITY=500
|
||||
IMAGE_QUALITY=500
|
||||
# cache duration for static assets(eg: '2.5 days', 3600, 2m)
|
||||
CACHE_PERIOD=1h
|
Reference in New Issue
Block a user