Hi @
Mohammad
@
PrAvEsH
@
Mike
@
tarekma7
Since moving from Mike's host there have been a lot of 504 errors.
Though none the last couple of days for me.
On a VPS there should be no issue. Much better specs (and expensive). I never experienced 504 errors on Mike's Host.
To work out issues on comparison.
You need to know you know the exact specs on old hosting compared to new.
Specific version
MYBB
PHP
PostgreSQL, MariaDB or MySQL
Full list of plugins with specific versions.
Any background scripts run on the server.
Any performance enhancements on the servers, Caching, CDN etc
If MYBB, PHP database and plugins are the same, like for like then they are not the issue. Unless added any new plugins.
Hosting provider, background scripts and performance enhancements on the servers, Caching, CDN could be the answer.
Compare the background scripts and performance enhancements on the servers, Caching, CDN to original host configuration.
You could run a
staging area, disable plugins, background scripts, performance enhancements, Caching, CDN. Slowly add them back.
Currently No 504 errors. Just when loading site a long delay. Likewise Clicking the logo a long delay.
Some suggestions listed below.
This looks like slow response from the server and how data is presented.
Will post another one when finished.
More information below IMAGE.
regards vietnamrum.
server-timing-api
https://web.dev/articles/custom-metrics?...timing-api
https://web.dev/articles/custom-metrics
large image loading...
Website Optimisation Page1
Final HTML (DOM) size is significantly larger than initially delivered HTML (27.57kb larger, or 13.93% of total HTML).
Typically this is due to over-reliance on JavaScript for generating content, but increases can also happen as a result of browsers normalizing HTML structure as well. When critical HTML content is generated with JavaScript in the browser, several performance bottlenecks can arise:
Before content can be generated client-side, the browser must first parse, evaluate, and sometimes also request JavaScript over the network. These steps occur after the HTML is initially delivered, and can incur long delays depending on the device.
If the generated HTML contains references to external assets (images for example), the browser will not be able to discover and request them as early as desired.
__
Layout shifts exist and may be caused by images missing aspect ratio.
The CLS score is 0.039. 16 layout-critical images are lacking an aspect ratio, meaning the browser has no way of knowing how tall or wide an image is until it loads. This can cause content to shift as the image loads.
https://www.promo2day.com/images/capture.png
https://promo2day.com/images/collapse.png
https://www.promo2day.com/images/announcementicon.png
https://promo2day.com/uploads/avatars/av...1696485454
https://www.promo2day.com/images/intro.png
https://promo2day.com/uploads/avatars/av...1623424962
https://www.promo2day.com/images/feedback.png
https://promo2day.com/images/collapse.png
https://www.promo2day.com/images/official.png
https://promo2day.com/uploads/avatars/av...1545570008
https://www.promo2day.com/images/external.png
https://promo2day.com/uploads/avatars/av...1545570008
https://www.promo2day.com/images/external.png
data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHBvaW50ZXItZXZlbnRzPSJub25lIiB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiByZ2IoMTQyLCA2OCwgMTczKTsgd2lkdGg6IDQ0cHg7IGhlaWdodDogNDRweDsiPjx0ZXh0IHRleHQtYW5jaG9yPSJtaWRkbGUiIHk9IjUwJSIgeD0iNTAlIiBkeT0iMC4zNWVtIiBwb2ludGVyLWV2ZW50cz0iYXV0byIgZmlsbD0iI2ZmZmZmZiIgZm9udC1mYW1pbHk9IkhlbHZldGljYU5ldWUtTGlnaHQsSGVsdmV0aWNhIE5ldWUgTGlnaHQsSGVsdmV0aWNhIE5ldWUsSGVsdmV0aWNhLCBBcmlhbCxMdWNpZGEgR3JhbmRlLCBzYW5zLXNlcmlmIiBzdHlsZT0iZm9udC13ZWlnaHQ6IDQwMDsgZm9udC1zaXplOiAzMHB4OyI+QTwvdGV4dD48L3N2Zz4=
https://www.promo2day.com/images/android.png
https://xdaforums.com/data/avatars/m/128...1716976500
__
The main thread was blocked for 1231 ms
When files block the main thread, users are unable to interact with the page content. Typically, parsing and executing large JavaScript files, as well as running long JavaScript tasks can block the main thread and should be avoided. These files had high thread blocking times:
344 ms:
https://promo2day.com/jscripts/jquery.js?ver=1823
89 ms:
https://promo2day.com/jscripts/automenti...?ver=1.4.0
216 ms:
https://platform.twitter.com/widgets.js
162 ms:
https://connect.facebook.net/en_US/sdk.j...012f7b2702
198 ms:
https://platform.twitter.com/widgets/wid...mo2day.com
200 ms:
https://platform.twitter.com/widgets/fol...02.en.html
54 ms:
https://www.facebook.com/v2.8/plugins/li...size=small
suggest disable twitter and facebook for testing.