Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Date based cache purge #29

Merged
merged 12 commits into from Aug 22, 2013

Conversation

Projects
None yet
1 participant
Owner

artgillespie commented Aug 22, 2013

Provides a new method on OGImageCache : purgeDiskCacheOfImagesLastAccessedBefore:

This removes any cached files from disk whose access time is older than the provided date. Client apps can use this to implement LRU-based cache cleanup appropriate for their use cases.

artgillespie added a commit that referenced this pull request Aug 22, 2013

Merge pull request #29 from origamilabs/date-based-cache-purge
Date-based cache purge. Thanks to @sixten for all the feedback.

@artgillespie artgillespie merged commit 0d73a5b into develop Aug 22, 2013

@artgillespie artgillespie deleted the date-based-cache-purge branch Aug 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment