Am working on a small project where we are customising discourse to land the user directly to “a topic” with lot of client side customisation. User directly land on topic and can just post/reply to the topic thread. Discourse is loaded in to a webview in mobile app. I also removed the original composer and have custom composer with some options removed. Custom composer always sticks to bottom of the page opened for quick reply to user posts. We use minimum spec of 2GB(without docker). When user signs up for the forum we are redirecting(client side) to a topic, sometime the redirection takes between 10-25 seconds. I tried some other websites like swift.org and there discourse is really fast enough to load pages. It took between 3-6 seconds. I inspected network tabs, its just the same JS and CSS being loaded from network, only thing is mobile loads “mobile.css” version.
What could be the problem with our custom discourse? any direction to optimise it? do you think that server spec need to be increased? Customer base is just few hundreds, currently it has just couple of users(devs) and we are facing this problem.