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

Different TTL for Cachable actions #43

Closed
michelem09 opened this issue Mar 25, 2014 · 3 comments
Closed

Different TTL for Cachable actions #43

michelem09 opened this issue Mar 25, 2014 · 3 comments

Comments

@michelem09
Copy link

I would like to suggest an implementation of a config to specify different cache TTL for specific cachable actions.
For example the cms_index_index (homepage) could have a shorter TTL than the catalog_product_view.
Thanks

@VladanZ
Copy link

VladanZ commented Oct 1, 2014

Good idea.
+1

@michelem09 michelem09 changed the title Different TTL for Ccachable actions Different TTL for Cachable actions Oct 1, 2014
@Nikita-S-Doroshenko
Copy link

+1 good idea

@GordonLesti
Copy link
Owner

I can't find good solution for this, without more complicated configs. So I have dispatched an event before save and you can edit the lifetime on your own https://github.com/GordonLesti/Lesti_Fpc/blob/master/app/code/community/Lesti/Fpc/Model/Fpc.php#L85 I hope solves your problem.

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

4 participants