Re: flawed CVS Scripts (was Re: d.g.o/dotplan/schedule outdated!)



On 11/08/04 11:37, Jeff Waugh wrote:

We can also just build to a temporary directory, swap and delete the old
one. I'll test both, and add a solution to the build script todayish. Have
been wanting to do this for ages. ;-)
I guess the current build script just overwrites unchanged files anyway, so this wouldn't be any worse than what is already being done.

However, using rsync to copy the files from a temporary build tree to the live tree is better for caching. Apache generates the ETag from the file size, inode number and modification time, so even if you keep the modification time the same, web browsers and caches will think the file has changed.

James.

--
Email: james jamesh id au
WWW:   http://www.jamesh.id.au/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]