How to flush the app assets cache? (Load newest version of any asset file)

Hi there,

is there any way to flush / clear the assets cache in NextCloud? I noticed that NextCloud somehow caches the asset files (CSS, JavaScript) of my app and does not load the newest version when I update any of them. Maybe this is related to somekind of E-Tag.

Currently I solve this by incrementing the app version but it is kind of ugly because it forces my to go into maintenance mode and update my app (logically).

Any idea is appreciated :slight_smile:

occ maintenance:repair for prod
'debug' => true, for develop (to disable caching in general)

1 Like

Thanks! It worked. Kind of. It works in combination with disabling of the cache in the developer tools.