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

Enhancement : create subfolders for lifetimefile #23

Open
LouWii opened this issue Oct 4, 2013 · 1 comment
Open

Enhancement : create subfolders for lifetimefile #23

LouWii opened this issue Oct 4, 2013 · 1 comment

Comments

@LouWii
Copy link

LouWii commented Oct 4, 2013

Hi !

This bundle is great for people who want to handle cache themselves.

I'm using lifetimefile to cache some data. But, I need to cache something like 50 000 static web pages. And I don't want this to be stored in one folder.
So I was thinking about a way to handle subfolders.

Something like :

$cache->save('/my/subfolder/cacheContent', $content);

Could make the deal.

I tried this but it doesn't work because of non created folders. So it will need some modifications in LifetimeFileCache.php

Are you open to this ? So I can make a pull request sometime.

@winzou
Copy link
Owner

winzou commented Oct 7, 2013

Hi,

Sure! This is a nice idea you can go with it.

Thanks ;)

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