Welcome Guest, Not a member yet? Register   Sign In
Last.FM Library
#2

[eluser]essdeesee[/eluser]
Version 0.2
-Added Caching of Feeds and Images
-Cleared up some random variables that I left lying around when I abstracted it further

TODO
-Clear up cache folder after a time has elapsed.
-Write documentation that doesn't suck

Just make sure you update the attributes in the init method, or maybe the world will explode vOv, really though when you're calling the method all attributes are optional, they will just default to my original needs.

I probably want to test it a lot more thoroughly now also, I'm using this for 2 users, so I wrote it in a fashion that creates a folder for each user, then dumps their feeds, images, souls etc in there.

Just to let you know, my page load time went from 3.8 Seconds to 0.5 Seconds (top albums + 6 images) when I sorted out the caching.

Cheers,
Dirk


Messages In This Thread
Last.FM Library - by El Forum - 06-14-2008, 10:02 AM
Last.FM Library - by El Forum - 06-15-2008, 04:31 AM
Last.FM Library - by El Forum - 07-08-2008, 02:14 PM
Last.FM Library - by El Forum - 07-08-2008, 06:16 PM
Last.FM Library - by El Forum - 08-18-2008, 08:06 AM
Last.FM Library - by El Forum - 08-19-2008, 07:46 AM
Last.FM Library - by El Forum - 03-17-2011, 05:08 PM
Last.FM Library - by El Forum - 08-07-2011, 11:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB