One line in configuration will speed up your Nette application. How is that possible?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Lazy objects in PHP 8.4 and Nette 3.2.4 allow services to delay their initialization until they're actually used, speeding up application startup and reducing memory consumption. Enable this feature with just one line in the configuration. Lazy objects optimize your Nette applications without changing your existing code, but
•2m read time• From blog.nette.org
Table of contents
What are lazy objects?How to enable it?Benefits in practiceLimitations and recommendationsSort: