Marcel Stäheli Posted April 5, 2016 Share Posted April 5, 2016 Hello everybody I worked on a website locally on my laptop using xampp and then exported it to our production server. But here the loadtime suddently is about 1.2 seconds longer than before. It doesn't matter how complex or simple the page is, there is always at leastt 1.2s wait time before the browser receives the first page-data (more complex site have aboout 2s). I did a processwire testpage with just 1 line of html-text hardcoded in the template file, no php or database calls and it still has the delay. speedtest.php: <!DOCTYPE html> <html> <head> </head> <body> <main> <h1>hardcoded: speedtest</h1> </main> </body> </html> Now if i move that template page outside of the processwire folder and access it in a browser it displays with no noticable delay. As it should. Could it have something to do with an ip4/ip6 conflict? I ready some users had problems on a windows machine when using localhost, but it's not quite what i'm experiencing. Any idea on where to look for the problem? Anybody had any expiriences like that? I don't even know how to go about diagnosing the problem. Production Server: Microsoft IIS 8.5 PHP 5.6.04 Server API: CGI/FastCGI Processwire: 2.6.1 Any help or suggestion is greatly appreciated. Link to comment Share on other sites More sharing options...
BitPoet Posted April 5, 2016 Share Posted April 5, 2016 Make sure you have dbHost configured as 127.0.0.1, not as localhost. 3 Link to comment Share on other sites More sharing options...
Marcel Stäheli Posted April 5, 2016 Author Share Posted April 5, 2016 Thanks for the reply. I read about that in another post but never tried it because I thought it was a diffrent problem than mine, i was wrong. I tried it now and the loadtime for my speedtest page dropped to 250ms, but much better than before. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now