Skip to content

Enhancement : create subfolders for lifetimefile #23

Description

@LouWii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions