4 ms·
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 titl
by talles 13y ago
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.
- fleitz 13y agoOr instead of doing that add some cache headers... and have nginx cache the page instead of reinventing your own cache.