Hello!
Please, help me to decide how to implement file-caching.
Now my application writes all data to single folder, named for example TEST1. But unfortunately, storage space is limited, and I have to clear old (may be non-frequently used) files.
How fast sill be to enumerate through all files inside TEST1 and check total size? And then delete less frequently used file? Can I call this routine each time I am going to save file?
Or is there any other better way to cache files? (for example to store file list in memory)
Thanks!

Reply With Quote

