gtalarico / revitapidocs

Online Revit API Documentation: 2015, 2016, 2017, 2017.1, 2018
http://www.revitapidocs.com
33 stars 20 forks source link

Serve CHM static files with static file server #25

Closed gtalarico closed 7 years ago

gtalarico commented 8 years ago

Serving these files with flask is no ideal Need to shift these to a true static file server for better response time

gtalarico commented 7 years ago

setup on branch dev/s3 working with bucket revitapidocs needs to batch replace for all chm html files to get url_for() re-routing to work. wont fix for know until since performance is ok due to caching police helps (few new users) will add if traffic increases and need better performance

gtalarico commented 7 years ago

move local assets to bucket (css, svg logos, icons, etc) event if chm styles are not served, this will save a lot of resources

gtalarico commented 7 years ago

If implemented, hook needs to be added to ensure assets are uploaded on commit: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks

gtalarico commented 7 years ago

Merged on 8985f4a98e4ce705d464abe7be5675c34ab26e87 CHM icon assets are still served, but everything else is on aws bucket (icons, logos, css, js, etc)