Commit Graph
5 Commits
Author SHA1 Message Date
dab246 153e168c87 Fix built release but nginx route 404 not found on web 2023-09-19 11:43:14 +07:00
Quan Tran 4506a5e490 Force browsers to re-validate cache before reuse
Upon new release, NGINX would return 200 OK with new static files.
Otherwise, NGINX would return 304 Not Modified with empty response, and browser continue to reuse cached static files.
2023-05-15 14:43:47 +07:00
Quan Tran b511f2094f Configure cache settings for Nginx
Cache expires after 24h.
After cache is expired, browser can compare ETag to the server to check if the file has changed. If the server returns the same token, then the file is the same, and there's no need to re-download it.
2023-03-20 14:00:42 +01:00
Quan Tran 701502c6b7 Enable GZIP for Nginx 2022-04-14 16:43:01 +07:00
Dat PHAM HOANG 6ee34c4d97 Package the webapp in a docker nginx lightweight container 2022-02-25 14:28:43 +07:00