קובץ Javascript גדול בתוך תיקיית assets

Looking for optimization while hosting multiple discourse forum using: Nginx proxy → Separate Web and DB container. In this scenario I assume performance enhancement done by official install has to be done manually in nginx proxy.