News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by falcolas on Wednesday February 28, 2018 @02:04PM (#16485706)
WRT the web file, curl can be run and only download a file if the file has been modified after the file on disk.

DB are harder (yet possible) but not a common request that I’ve seen.

Re:The Makefile I use with JavaScript projects by makmanalp on Wednesday February 28, 2018 @05:15PM (#16487629)
curl -z only works if the server has the proper headers set - good luck with that. The point is, it's great to be able to have custom conditions for determining "needs to be updated", for example.
Re:The Makefile I use with JavaScript projects by ycombobreaker on Thursday March 01, 2018 @03:28AM (#16490460)
You can always download to a temporary location and only copy to the destination file if there is a difference. You don't need direct support from curl or whatever other tool generates the data.