Welcome to Geeklog Wednesday, November 22 2017 @ 01:45 pm EST

List Index.PHP first in Apache for exponential increase

  • Contributed by:
  • Views: 13,944
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.