Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twig loop executes much more slowly without any output #637

Open
mark-adigital opened this issue Jul 25, 2018 · 0 comments
Open

Twig loop executes much more slowly without any output #637

mark-adigital opened this issue Jul 25, 2018 · 0 comments

Comments

@mark-adigital
Copy link

Hi,

I came across an issue when using Andrew Welch's Minify plugin for Craft CMS where if the minify tags contained a loop with no output, performance would suffer greatly. Adding something like an empty <span> resolves the issue, and the loop is performing several conditionals.

I raised an issue on the Minify plugin, but the response I received was that the issue appears to be in the core library - hence also opening one here.

Thanks,

Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant