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

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

    XMLWordPrintable

Details

    • Sub-task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.1.0-b3
    • 4.0.0-a1
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: