|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,038 Location: Charleston, West Virginia, United States
|
Has anyone implemented a member or media cache? I am currently needing to search a media node with about 1300 nodes in it, and using GetMedia in the library proves to be slow, as it is generating the XML dynamically every time it is called. I am debating caching (probably in memory) the GetMedia XML for the call (by ID) if it is a deep call. I will also need to do this with members by groups. Any thoughts, pointers, tips? Thanks
• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
|
|
Rank: Enthusiast
Joined: 9/5/2006 Posts: 28
|
Hi,
Did you find a solution for this? I could also use a cache...
Solved it temporary with a cache of the macro handling the media nodes, but still..
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,038 Location: Charleston, West Virginia, United States
|
Hi Anders, Yes, I actually came up with a different solution which basically is direct SQL calls and pulls back the saved xml entries directly. It seems to be pretty quick, though, it has not been thoroughly tested. If you are interested, drop me a line. casey at neehouse dot com. Thanks
• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
|
|
Rank: Enthusiast
Joined: 9/5/2006 Posts: 28
|
Funny, i ended up soling the problem in the exact same way. It seems to be fair enough.
Thanks,
Anders
|
|
|
Guest |