fix: forza no-cache per JS/CSS + WebView LOAD_NO_CACHE

- .htaccess: aggiunge Cache-Control no-cache/no-store per .js/.css
- Kiosk Kotlin: aggiunge cacheMode=LOAD_NO_CACHE al WebView
- Il pulsante refresh del kiosk ora carica sempre l'ultima versione
This commit is contained in:
dadaloop82
2026-04-20 17:34:23 +00:00
parent 5e01c0656c
commit 517a615d11
2 changed files with 8 additions and 0 deletions
@@ -434,6 +434,7 @@ class KioskActivity : AppCompatActivity() {
settings.mediaPlaybackRequiresUserGesture = false
settings.allowFileAccess = true
settings.mixedContentMode = android.webkit.WebSettings.MIXED_CONTENT_ALWAYS_ALLOW
settings.cacheMode = android.webkit.WebSettings.LOAD_NO_CACHE
webView.webViewClient = object : WebViewClient() {
override fun onReceivedSslError(