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

Use blink cache in the blueprint repository #2552

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

jasonvarga
Copy link
Member

This PR adds some optimizations related to retrieving blueprints. Simple stuff - just wrapping existing logic in blink closures.

Depending on how your site is set up, how much content you have, number of collections, what you're putting in your templates, etc - that we might end up repeating a lot of blueprint work.

Instead of constantly reading files and parsing YAML, it will only do it once.

In one test site, this reduced load time by about a second.

@jasonvarga jasonvarga merged commit dec573c into master Sep 28, 2020
@jasonvarga jasonvarga deleted the feature/blueprint-optimization branch September 28, 2020 16:12
@jasonvarga
Copy link
Member Author

Just leaving this here: a customer that was running into this issue reported a page going from 2s to 400ms.

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

Successfully merging this pull request may close these issues.

1 participant