Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11632 Speed up load_class()
  3. PHPBB-12578

Use a lazy service to delay the construction of the template engine

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.0.0-a1
    • 3.1.0-b3
    • None
    • None

      The template engine is build on each page because of the compatibility_globals stuff, but it is not used on every page (feed, console, some extensions...) so it should be construct only when it is used (http://symfony.com/doc/current/components/dependency_injection/lazy_services.html)

            Unassigned Unassigned
            nicofuma nicofuma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: