Differences

This shows you the differences between two versions of the page.

performance [2010/06/13 19:13]
81.187.95.96
performance [2013/05/24 08:58] (current)
Line 15: Line 15:
===== Avoiding stat() ===== ===== Avoiding stat() =====
-On every request PHPTAL also checks if source template has changed. You can implement your own ''SourceResolver'' and ''Source'' classes to avoid file timestamp checks or to load TAL template sources in a different way.+On every request PHPTAL also checks if source template has changed. You can [[SourceResolver|implement]] your own ''SourceResolver'' and ''Source'' classes to avoid file timestamp checks or to load TAL template sources in a different way.
If you want PHP not to touch disk at all, also disable ''apc.stat'' in ''php.ini''. If you want PHP not to touch disk at all, also disable ''apc.stat'' in ''php.ini''.