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

Allow for proper template cache busting 🎉 #25

Merged
merged 1 commit into from
Aug 25, 2016
Merged

Allow for proper template cache busting 🎉 #25

merged 1 commit into from
Aug 25, 2016

Conversation

oscarni
Copy link
Contributor

@oscarni oscarni commented Aug 25, 2016

Resolves:

DEPRECATION: ember-cli-htmlbars is opting out of caching due to an AST plugin that does not provide a caching strategy: `conditional-compile-template`.

ember-cli-htmlbars was updated with proper cache busting ember-cli/ember-cli-htmlbars#90 so now we can work with template flags in a consistent and reliable way!

This tiny PR fixes #21 !!!!

This PR is based on changes that resolves the same issue in this addon adopted-ember-addons/ember-cp-validations#305

Cheers guys! 🍻

Fixes deprecation warning: DEPRECATION: ember-cli-htmlbars is opting out of caching due to an AST plugin that does not provide a caching strategy: `conditional-compile-template`.
@jobackman
Copy link
Contributor

Can also confirm that it appears to fix #21 🎉🎉

I have tested in both development and production environment with different flags enabled. And from what I can tell when using the template feature-flags, it doesn't seem to struggle with the HTMLBars cache anymore 😀

@minichate
Copy link
Owner

Oh wow! This is great. I'll review this today and merge ASAP.

Thanks so much!

@alexBaizeau
Copy link
Contributor

wow that's exciting!

@minichate minichate merged commit 7e18c40 into minichate:master Aug 25, 2016
@minichate
Copy link
Owner

Shipped in 0.4.13. Thanks so much @oscarni!

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.

{{#if-flags-}} dont always reflect the featureFlags value
4 participants