Different Firstbyte for PHP and HTML pages
|
06-03-2012, 06:48 PM
Post: #1
|
|||
|
|||
Different Firstbyte for PHP and HTML pages
Hi
My site [Drupal 7] running on an AWS is taking 3.5 seconds for the first byte. I tested a php page with "Hello World" and it takes 2.5 seconds and a static HTML page takes .04 seconds for first byte. What is the reason for a slow response for PHP pages? How can i overcome it? The url is here Many thanks! Sathish |
|||
06-07-2012, 03:19 AM
Post: #2
|
|||
|
|||
RE: Different Firstbyte for PHP and HTML pages
It's hard to say without knowing a lot more about the software stack you have deployed in your AWS instance.
What web server? How is PHP configured (cgi, fcgi, mod)? Is the site live with users or is the only load the testing? What does the php "Hello World" code look like? It probably wouldn't hurt to provide phpinfo() output as well. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)