[Slackbuilds-users] website direction requests

Rob Ogilvie rob at axpr.net
Tue Jul 4 17:53:40 UTC 2006


Robby Workman wrote:
> As Erik stated, I think both would be nice.  Maybe a "Download this 
> entire directory as a tar.gz archive" option would be good, at the top 
> of the page or something.  One concern, though: will the server have to 
> generate this archive each time it's requested, or will that be a 
> one-time thing?  If it's a one-time thing, in which the tar.gz archive 
> is cached somewhere, then what happens when something in the directory 
> is changed?  Can you build in detection for that, or will we need to 
> generate the tar.gz archive manually?

It should be easy enough to write some PHP that checks the mtime of the 
directory and compares it to the ctime of the .tar.gz...if the .tar.gz 
file is out of date, it would then recreate it.

Rob



More information about the Slackbuilds-users mailing list