Just realised my forum-XXXX.js file is 1.1mb , after finding out this. So i tried to disable extensions one by one (yes i cleared the cache too by each disable)
So with all extensions enabled, the js.file is 1.1MB
With all extensions disabled its 394kb
However, I checked many flarum forums js.file is around 400-600kb with the same/similar setup with extensions.
Note: there hasn’t even any customisations made to my flarum setup
URL: https://forum.acehsc.net

root@forum:~# cd /var/www/flarum/
root@forum:/var/www/flarum# php flarum info
Flarum core 0.1.0-beta.15
PHP version: 7.4.14
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imagick, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+-------------------------------------+----------------+------------------------------------------+
| Flarum Extensions | | |
+-------------------------------------+----------------+------------------------------------------+
| ID | Version | Commit |
+-------------------------------------+----------------+------------------------------------------+
| flarum-lang-english | v0.1.0-beta.15 | |
| flarum-tags | v0.1.0-beta.15 | |
| flarum-emoji | v0.1.0-beta.15 | |
| fof-best-answer | 0.3.5 | |
| fof-gamification | 0.4.2 | |
| therealsujitk-gifs | v2.0.0 | |
| flarum-mentions | v0.1.0-beta.15 | |
| flarum-subscriptions | v0.1.0-beta.15 | |
| flarum-flags | v0.1.0-beta.15 | |
| flarum-approval | v0.1.0-beta.15 | |
| clarkwinkelmann-first-post-approval | 0.1.3 | |
| fof-disposable-emails | 0.2.1 | |
| ianm-html-head | 0.1.1 | |
| andre-pullinen-ads | 0.2.8 | |
| flarum-markdown | v0.1.0-beta.15 | |
| fof-formatting | 0.3.1 | |
| kyrne-websocket | 2.3.0 | |
| flarum-statistics | v0.1.0-beta.15 | |
| v17development-seo | 1.5.1 | 68cd1d662795880f6604c1fdeba9629299d864d4 |
| askvortsov-moderator-warnings | v0.4.0 | |
| clarkwinkelmann-group-list | 0.2.0 | |
| fof-user-bio | 0.4.2 | |
| fof-upload | 0.12.9 | |
| fof-terms | 0.6.1 | |
| fof-share-social | 0.3.0 | |
| fof-sitemap | 0.6.0 | |
| fof-pages | 0.6.0 | |
| fof-links | 0.5.3 | |
| zerosonesfun-elint | 3.0.3 | |
| flarum-suspend | v0.1.0-beta.15 | |
| fof-split | 0.6.0 | |
| fof-merge-discussions | 0.5.1 | fa19cdf16b439d43f28a34fb9c586e8550ca09f0 |
| flarum-lock | v0.1.0-beta.15 | |
| flarum-sticky | v0.1.0-beta.15 | |
| kyrne-shout | 0.3.1 | |
+-------------------------------------+----------------+------------------------------------------+
Base URL: https://forum.acehsc.net
Installation path: /var/www/flarum
Debug mode: off
Also, look at this , it shows 805KB on Clark’s Lab scanner and on gtmetrix it shows 196kb? (for discuss.flarum)
How’s this possible?
https://lab.migratetoflarum.com/scans/d249e16a-f505-4fee-aeef-2c989a04f02f
https://gtmetrix.com/reports/discuss.flarum.org/NENSvAWX/
