Current time: 12-08-2019, 07:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)