• Resolved hexie

    (@hexie)


    Hi,

    I have installed wordpress in docker on my home server at local.ip:80
    When i access this address, it loads instantly
    I have port forwarded the port, when I access external.ip:forwardedport from another network (mobile), it takes around 1 minute to load
    The phpmyadmin page for example loads instantly from the external network, so I think it might be related to some wordpress settings I don’t know?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Once WP receives a request from the server, it doesn’t care where it came from, it behaves the same way regardless. So if you have good performance locally but not remotely, the bottleneck lies somewhere before WP. I’m referring to WP in a plain vanilla configuration. It’s possible your theme or plugins are doing something that’s much slower through a remote request.

    I’ve no explanation for the difference between WP and phpMyAdmin. The two are actually quite similar as far as how they behave on a server goes. On my local server WP is actually faster than phpMyAdmin, though both are quite acceptable in performance. Perhaps try using your browser’s network developer tool to see if a particular resource is taking an inordinate amount of time?

    threadi

    (@threadi)

    Around 1 minute sounds like a network timeout to me. It is probably trying to load something that cannot be reached via the external IP. This can be theme or plugin specific, but also a question of routing in the network.

    Thread Starter hexie

    (@hexie)

    hi!

    issue was the link for siteurl and home

    changed it to the external ip and it works as intended

    • This reply was modified 5 months, 3 weeks ago by hexie.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.