Quote:
Originally Posted by Babaganoosh
Not trying to make a big deal out of it but if a file is written there's already a timestamp. There's no reason to make an entry in a db and query the db every time we want to see when the file was created. That step is completely redundant.
|
Your idea breaks down if the file is ever manually updated, or if there isn't actually a static file to update and it's a dynamic page.
I would go as far to say a file's timestamp is akin to user input - not something I would base a script off of.