Dem13n / discussion-cards

Output of discussions in form of cards
MIT License
15 stars 5 forks source link

Long delay TTFB #32

Open srjrol opened 2 years ago

srjrol commented 2 years ago

When I enable this extension the time to first byte (TTFB) measures around 10 seconds on a hard refresh of the site. I checked this by using the browser inspect > network tool inside chromium. There is no delay after a user is logged in. When disabled there is no issue. I'm new to Flarum but let me know what I can provide if you wish to troubleshoot further.

Here is my flarum info output

Flarum core 1.3.0 PHP version: 7.4.29 MySQL version: 5.6.41-84.1 Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, json, exif, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, SimpleXML, soap, sockets, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, xmlreader, xmlrpc, imagick, SourceGuardian, ionCube Loader, Zend OPcache +------------------------------------+---------+--------+ | Flarum Extensions | | | +------------------------------------+---------+--------+ | ID | Version | Commit | +------------------------------------+---------+--------+ | flarum-flags | v1.3.0 | | | flarum-likes | v1.3.0 | | | flarum-suspend | v1.3.0 | | | flarum-subscriptions | v1.3.0 | | | flarum-tags | v1.3.0 | | | flarum-approval | v1.3.0 | | | flarum-bbcode | v1.3.0 | | | fof-upload | 1.2.3 | | | flarum-sticky | v1.3.0 | | | clarkwinkelmann-likes-received | 1.0.2 | | | fof-user-directory | 1.2.3 | | | fof-follow-tags | 1.1.3 | | | fof-spamblock | 1.0.2 | | | fof-impersonate | 1.1.0 | | | fof-byobu | 1.1.6 | | | fof-merge-discussions | 1.3.0 | | | flarum-markdown | v1.3.0 | | | afrux-forum-widgets-core | v0.1.7 | | | zerosonesfun-essential-audio | 1.2.1 | | | zerosonesfun-direct-links | 3.1 | | | v17development-seo | v1.8.0 | | | the-turk-stickiest | 2.0.3 | | | the-turk-quiet-edits | 0.1.3 | | | sycho-profile-cover | v1.3.1 | | | sycho-move-posts | v0.1.6 | | | noriods-auto-more | v1.0.0 | | | nearata-twofactor | v2.0.1 | | | nearata-no-self-likes | v1.2.0 | | | nearata-internal-links-noreload | v2.0.1 | | | migratetoflarum-canonical | 1.0.0 | | | justoverclock-user-statistics | 0.1.9 | | | justoverclock-country-flags | 0.2.1 | | | jslirola-login2seeplus | v0.2 | | | ianm-synopsis | 1.2.0 | | | ianm-follow-users | 1.1.0 | | | fof-username-request | 1.0.1 | | | fof-user-bio | 1.1.0 | | | fof-terms | 1.1.2 | | | fof-subscribed | 1.1.2 | | | fof-stopforumspam | 1.2.1 | | | fof-split | 1.0.1 | | | fof-sitemap | 1.0.3 | | | fof-secure-https | 1.0.1 | | | fof-profile-image-crop | 1.0.1 | | | fof-polls | 1.1.0 | | | fof-pages | 1.0.4 | | | fof-moderator-notes | 1.1.0 | | | fof-masquerade | 2.1.0 | | | fof-links | 1.1.1 | | | fof-linguist | 1.0.4 | | | fof-ignore-users | 1.1.0 | | | fof-formatting | 1.0.2 | | | fof-drafts | 1.1.2 | | | fof-disposable-emails | 1.0.0 | | | fof-discussion-thumbnail | 1.1.0 | | | fof-default-user-preferences | 1.0.0 | | | fof-bbcode-tabs | 1.0.2 | | | fof-bbcode-details | 1.0.0 | | | fof-ban-ips | 1.0.2 | | | flarumite-simple-discussion-views | 1.1.3 | | | flarum-statistics | v1.3.0 | | | flarum-mentions | v1.3.0 | | | flarum-lock | v1.3.0 | | | flarum-lang-english | v1.3.0 | | | flarum-emoji | v1.3.0 | | | extiverse-mercury | 0.2.0 | | | datlechin-silent-edit | v0.1.0 | | | datlechin-link-preview | v1.0.0 | | | clarkwinkelmann-username-blacklist | 1.0.0 | | | clarkwinkelmann-post-bookmarks | 1.0.0 | | | clarkwinkelmann-mass-actions | 1.1.0 | | | clarkwinkelmann-circle-groups | 1.0.1 | | | clarkwinkelmann-author-change | 1.0.2 | | | blomstra-flag-duplicates | 0.1.8 | | | askvortsov-rich-text | v2.1.7 | | | askvortsov-categories | v3.0.6 | | | akr-chevereto | 1.0.1 | | | afrux-top-posters-widget | v0.1.4 | | | afrux-online-users-widget | v0.1.6 | | | afrux-news-widget | v0.1.1 | | | afrux-forum-stats-widget | v0.1.1 | | +------------------------------------+---------+--------+ Base URL: https://mydomain.com Installation path: /home/user/public_html Queue driver: sync Mail driver: mail Debug mode: off