Welcome to Geeklog, Anonymous Thursday, November 21 2024 @ 01:43 pm EST

List Index.PHP first in Apache for exponential increase

  • Wednesday, March 26 2003 @ 10:58 pm EST
  • Contributed by: Anonymous
  • Views: 16,029
Geeklog.net Guys/KewlPHPGirls

I found an interesting performance tweek that was staring at me the whole time. After noticing 2-4 second delays in page rendering before geelog would load (I noticed geeklog said it loaded in, say .91 seconds yet from the time I hit enter on the web page, it tool 4-7 seconds to load).

For those using Apache, you MUST list index.php first as your DirectoryIndex . This one fix jumped my render time from 4-7sec to the true .91 sec. Mine looks like this now:

DirectoryIndex index.php index.htm index.html

Take care and happy GL'ing.