Harden withdrawals freshness and add معین/تفصیل on accounting vouchers.

Cache-bust and soft-refresh withdrawal lists for CDN, and capture party detail (تفصیل) plus بابت purpose on journal documents.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Shayan Azadi
2026-08-04 19:21:37 +03:30
parent 459ae43b0f
commit 92d7afc103
12 changed files with 292 additions and 69 deletions

View File

@@ -17,6 +17,15 @@ server {
application/xml+rss
application/json;
# Never cache the shell HTML — otherwise CDN/browsers keep an old index
# that points at a previous JS bundle (stale withdrawals desk).
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always;
add_header Pragma "no-cache" always;
expires -1;
try_files /index.html =404;
}
location / {
try_files $uri $uri/ /index.html;
}