Skip to content

Long render time if an attribute template is selected in the BE list #1352

Closed

Description

@zonky2

Long render time if an attribute template is selected in the BE list e.g. mm_attr_text.html5 with simple <h3>-Tag

Test (only response time):

  • list with 10 items and without sub-template: 416ms
  • 10 items and one attribute with own template: 626ms
  • 10 items and two attribute with own template: 895ms
  • 20 items and two attribute with own template: 1.641ms
  • 160 items and two attribute with own template: 8.428ms
  • 160 items without own attribute template: 722ms

Activity

  1. added
    bugA bug! A bug! Fast, squish it!
    on Nov 18, 2019
  2. added this to the 2.1.7 milestone on Nov 18, 2019
  3. zonky2 commented on Nov 21, 2019

    @zonky2
    ContributorAuthor

    check this issue with @discordier:

    we should add cache for non-existent files at Template.php

    protected function getTemplate($strTemplate, $strFormat = 'html5', $blnFailIfNotFound = false)

    Workaround: add to your .html5 template the same as .text

  4. modified the milestones: 2.1.7, 2.2.0 on Dec 5, 2019
  5. zonky2 commented on Dec 5, 2019

    @zonky2
    ContributorAuthor

    duplicate of #1149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug! A bug! Fast, squish it!duplicateThis is a duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions