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

Product category caches not cleared after product save #241

Open
royduin opened this issue Jun 28, 2016 · 2 comments
Open

Product category caches not cleared after product save #241

royduin opened this issue Jun 28, 2016 · 2 comments
Assignees

Comments

@royduin
Copy link

royduin commented Jun 28, 2016

Is there a reason why the cache for product categories is only cleared when it's a new product or the status is changed? Why not clear it with all changes?

And why is that loop not present at the _catalogProductSaveAfterMassAction() function?

Shall I create a pull request to fix this or is it done by purpose?

@royduin royduin changed the title Product categorie caches not cleared after product save Product category caches not cleared after product save Jun 28, 2016
@GordonLesti
Copy link
Owner

Hello @royduin
yes, good question 😆
Maybe we should remove this loop and tag every category page with all products that are contained. But I'm not sure if that will explode the size of cache.

@royduin
Copy link
Author

royduin commented Jul 13, 2016

I've created a pull request to fix this: #248

@GordonLesti GordonLesti self-assigned this Jul 15, 2016
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

2 participants