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

[Settings] Cache parameters after fetching as well as saving. #3280

Merged
merged 1 commit into from
Sep 17, 2015

Conversation

isometriks
Copy link
Contributor

I tried to find any previous issues / PRs regarding this. Is this not something you guys wanted to do? The only issue I could see with this is if someone is using file_system cache or another persistent cache in dev mode that default value changes to their schemas wouldn't be reflected (Edit: actually maybe not, this only caches parameters from the database, so default values would change). This could easily be solved by using array cache in dev mode. As I see it right now the settings only get cached when saved but if you clear caches you'd have to go to your settings after warmup and save them again to benefit from any caching.

@pjedrzejewski pjedrzejewski added the Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). label Sep 15, 2015
@pjedrzejewski pjedrzejewski added this to the v0.16.0 milestone Sep 15, 2015
pjedrzejewski pushed a commit that referenced this pull request Sep 17, 2015
[Settings] Cache parameters after fetching as well as saving.
@pjedrzejewski pjedrzejewski merged commit 72c78f3 into Sylius:master Sep 17, 2015
@pjedrzejewski
Copy link
Member

Thank you Craig!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants