Anyway to speed up pages loading time

If I run my webapp, on my host machine the pages will load really fast on my locahost, once I add the same webapp to my Whonix Workstation, with no changes to the code at all, same webserver everything is the same.

The pages will load a lot slower on localhost, is there anyway I can speed the page loading time up?