downloadList problem -> cached zipfiles wont update

Dear zenphoto community,
I tried switching on "persistend archives" in the options/gallery section to minimize the time it takes for a user to download an album. I take it that zenphoto otherwise creates the album on the fly, thus taking longer to zip everything together?

Initially that worked. But when i changed anything within an album, eg. added a photo or a new subalbum, or deleted a photo, the zipfile wouldn't update. I searched the forums and google, and couldn't find much of help.

Before i start to hack (comparing timestamps, delete the zip on upload of photos, comparing zip content with album...) I wanted to ask if this is a known and fixed issue or not.

Thank you for the help,
regards,
alex

Comments

  • acrylian Administrator, Developer
    I am not familiar with that function (this has nothing to do with the downloadlist plugin btw), my collegue will probably later have an idea. Quick guess is that you need to delete the file manually or disable the option to get updated zip files.
  • If you disable "peristent archives" option, you get an updated zip, but the time each download takes (until it starts) is quite long, and I didn't even test it on 200mb+ albums yet.
    If I delete the file, then you are right, it works, but I can't do that with 1000+ users.
    I came up with the idea to add functionality to the "confirm" button in the backend when uploading or deleting albums or images. I could just erase the zip file, when a user changes anything in his user-album... But that seemed kind of harsh. I'll try it out though.
  • acrylian Administrator, Developer
    I am sure my collegue will respond later.
  • Your proposed solution is really the only thing that will work. You could perhaps "automate" it via a plugin that attaches to the new object, remove object, and move object filters.
Sign In or Register to comment.