Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7194

Compile templates to files, and cache template compilation for a longer period

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2014-02-03
    • Component/s: None
    • Labels:
      None

      Description

      TT automatically compiles templates in-memory, but the default setting rechecks every second, which is obviously a bit fast for production servers! Additionally, it has an option to persistently cache the compiled templates on disk as files, which though it may not help much we may as well use (it speeds up loading slightly, since it makes reloading simply a re-require() in perl).

        Attachments

          Activity

            People

            Assignee:
            ianmcorvidae Ian McEwen
            Reporter:
            ianmcorvidae Ian McEwen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2014-02-03