Did you know?
At least Foundation 6.3.1 (SASS), upon generating the compiled »dist« version, will set the generated page’s last modified date to the date the actual page was last modified (in pages folder), even if you modify an included partial!
Why is this good?
- The generated page’s date & time (and eventually any sitemaps and search engines) hopefully reflect the date & time the content was last changed.
- Not each and every file is flagged »new« when re-generating.
Why is this bad?
- If you use the actual page more like a template (say, for a blog where the content comes from its partials), it will still show the old date.
- Auto-generated sitemaps and thus search engines might not (immediately) recognize the new content since they still see the old »last modified« date.
- If you use »older« deploying mechanisms like FTP with an option like »overwrite only if newer«, some files might not even be updated on your live production site. (You can circumvent this by using an option like »overwrite if newer or size changed«.)
How do you feel about this design decision?