Re: Which cache to store non-persistent data for a short time?
Roland0 <Roland0.abib20-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
afriend wrote: > I haven't used any cache up to now but now I need to store some > client-specific data (array or hash) temporarily for a short time: 15 > minutes for the bigger data set (about 3-5KB if saved as a plain text > file or 6000-7000 characters) and no more than 60 minutes for the small > one). > I'm using Cache::MemoryCache (for generic data) and Memoize (for subroutine results, can be client-specific ) Both work well in a plugin. 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Text Interface | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Ambient Noise Mixer | DB Optimizer | Image Enhancer | Chiptunes | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... ------------------------------------------------------------------------ Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=115450