Re:Kill your index.php
by talles on Tuesday January 28, 2014 @09:25PM
(#7141434)
Theres a lot going on in the article that I simply have no idea whats about (sorry, php is not my stack).
Probably unrelated to article, but indeed to the title: make your index.php a index.html. No, not completely static, make your application generate one. Most of your traffic hits is at your index (kinda obvious right). If you have a super dynamic index makes more sense generate a static html file with the new content, let's say, every 3 minutes, rather than generate the thing for everybody that hits your website root.
It's not exactly a secret, but sometimes people forgets completely about this. Not that useful for all scenarios though.
Probably unrelated to article, but indeed to the title: make your index.php a index.html. No, not completely static, make your application generate one. Most of your traffic hits is at your index (kinda obvious right). If you have a super dynamic index makes more sense generate a static html file with the new content, let's say, every 3 minutes, rather than generate the thing for everybody that hits your website root.
It's not exactly a secret, but sometimes people forgets completely about this. Not that useful for all scenarios though.