Click here to Skip to main content
15,916,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Just Academy Question!
Can we store folder in Cache?!
I didn't know how to cache an entire folder!!!!
And no code got in my mind!
Posted

1 solution

No, because a folder really doesn't have any data.

You can cache the files in the folder. You just have to read the data into a byte[] and add that to the cache, probably using the filename as a key.
 
Share this answer
 
Comments
Y.Ahmad 14-Jul-15 2:21am    
I told them that :D
Thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900