Media and Member XML Cache? Options
neehouse
Posted: Thursday, March 29, 2007 4:02:55 PM

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 •
nec
Posted: Tuesday, February 19, 2008 7:50:50 PM
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..
neehouse
Posted: Tuesday, February 19, 2008 10:14:54 PM

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 •
nec
Posted: Wednesday, February 20, 2008 8:21:40 AM
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
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.