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

Store lazy blocks data in the cache storage not in the session #333

Open
kanevbg opened this issue Oct 18, 2018 · 0 comments
Open

Store lazy blocks data in the cache storage not in the session #333

kanevbg opened this issue Oct 18, 2018 · 0 comments

Comments

@kanevbg
Copy link

kanevbg commented Oct 18, 2018

Because it is simply wrong to mix two storage types with different purposes.

Lesti FPC is caching software. Session storage is for simpler and crucial data of the application and not the caches. If the cache is flushed the session storage will be holding unnecessary data. Using session for caches will push much more IO on this storage. Sessions are diamonds in the web and should be keep as simple and available as possible. Working on clearing the sessions on background will not be good decision. It is better to delete the related caches from cache storage trough the cache API if a session gets invalidated. If there is any difficulties with this kind of implementation I will be glad to discuss and help.

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

1 participant