In the apps folder of the Nexcloud there is a “js” folder in the subfolder /calendar or /photos (and others). There are very large files in there. in /apps/photos/js/ e.g. a file photos-main.js or photos-main.js.map
Is there some way to shrink these files, do some kind of maintenance? Do they really have to be that big? My entire apps folder with all subfolders is almost 700 MB
Nextcloud version 29.0.2
Operating system and version Linux 6.1.67 x86_64
Apache or nginx version Apache 2.4.25
PHP version 8.1.2.
No, I don’t think you can shrink any files or folders, but in theory you could remove the java script source map files (js.map), as they are not really needed for the apps to work.
However, I wouldn’t recommend doing this, as they would probably reappear when the apps are updated, in which case you couldn’t really use that space for other things, and you would have to repeat the process after every app update. Also, if you experience any kind of problem or an error with an app, you wouldn’t be able to properly debug the issue.