DEV Community

Discussion on: Why you shouldn't use the file creation time to represent a date

Collapse
alexabruck profile image
Alexa Steinbrück Author

Just curious: What do you consider a 'staleness check'? (when would you do that)? Thanks!

Collapse
pentacular profile image
pentacular

Let's say that one file is produced from another.

It is never incorrect to regenerate it, but unnecessary unless the other file has since been modified.

Or say that the file is sufficiently up to date not to regenerate if it was modified less than some time ago.

Thread Thread
alexabruck profile image
Alexa Steinbrück Author

I see, thanks!