tilegarden
tilegarden copied to clipboard
Shrink mapnik upload bundle
Since AWS Lambda start time and overall request speed correlates directly with upload bundle size, it would be super worth it to investigate means to shrink the uploaded bundle. This could be a bit tricky due to:
- A lot of our ideas involved digging through and modifying dependencies, which is dicey since new downloads cause those to be reinstalled.
-
claudia
automatically does annpm install
when it bundles the project which would undo local changes to dependencies. - We'd have to make changes in
claudia
's code since that's where bundling/uploading takes place.- Some tools include hooks that let you provide your own script for producing a zipfile