Last active
August 29, 2015 14:09
-
-
Save kevindavis/09869cf58e34102d9db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Our website is hosted on Heroku, which we deploy via git when we have new changes to make | |
It's SEO-preferable to have your sitemap.xml on the same domain/subdomain as the content being served. Might be SEO-impossible to do otherwise. | |
We want sitemap.xml to be decently up to date | |
We don't want sitemap.xml to be overwritten when we deploy a new version of the app | |
Solutions considered | |
1. (current) Kevin runs a script whenever he remembers that generates sitemap.xml, checks it in and pushes it | |
- Kevin is unreliable and his time is somewhat valuable.. sometimes | |
+ works | |
2. write a node thing that generates sitemap.xml dynamically | |
+ would work, Kevin knows how to go about this | |
- would require writing this | |
- would already take several seconds to run, and don't want to think about this once we actually.. have content | |
3. have a job that runs regularly and deploys sitemap.xml | |
+ would work going forward | |
- Kevin doesn't know how the deployment would work - is there a way to deploy a subdirectory seperately? force commit a single file? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment