Brandon Liu
|
56f5a7c179
|
Merge pull request #202 from protomaps/cloudflare-native-decompress
Revert cloudflare decompression to own function
|
2023-06-22 14:25:10 +08:00 |
|
Brandon Liu
|
2cb9f5868a
|
Revert cloudflare decompression to own function
* polyfill takes up too much CPU time
* bump cloudflare workers-types
* add tsc checks to CI for serverless
|
2023-06-22 13:47:06 +08:00 |
|
Brandon Liu
|
10021809dc
|
add AVIF enum in JS client [#116]
|
2023-06-22 10:08:34 +08:00 |
|
Brandon Liu
|
17218ecb77
|
Merge pull request #170 from protomaps/cloudflare-tilejson
Cloudflare TileJSON
|
2023-06-21 18:34:28 +08:00 |
|
Brandon Liu
|
dc8eb73458
|
TileJSON support for Cloudflare and AWS [#169]
* Remove TILE_PATH configuration as this makes supporting non-tile paths difficult
* create shared/ dir in serverless for common code
* linting fixes
|
2023-06-21 18:19:10 +08:00 |
|
Brandon Liu
|
7250f81846
|
serverless: improve error message if request doesn't match archive type [#190]
|
2023-06-07 09:26:51 -04:00 |
|
Brandon Liu
|
a885f4098a
|
implement metadata and TileJSON-like responses for Cloudflare Workers [#169]
|
2023-05-03 23:58:22 +08:00 |
|
Brandon Liu
|
cdda65a7eb
|
serverless js: make formatting consistent
|
2023-03-13 14:29:59 +08:00 |
|
Brandon Liu
|
19de8191c9
|
cloudflare: set CACHE_MAX_AGE default.
|
2022-11-24 02:06:17 +08:00 |
|
Brandon Liu
|
5b4737e066
|
serverless: fix cache keying with multiple archives.
|
2022-11-24 02:06:00 +08:00 |
|
Brandon Liu
|
47d35484fc
|
port tests to node 18 test module; remove zora dep
|
2022-11-22 20:38:14 +08:00 |
|
Brandon Liu
|
f457724da1
|
pass HTTP metadata in S3/R2 Source impls
|
2022-11-22 14:43:15 +08:00 |
|
Brandon Liu
|
9a3f519207
|
pmtiles_path can have {name} multiple times [#97]
|
2022-11-22 10:47:31 +08:00 |
|
Brandon Liu
|
1d74564ab4
|
allow both pbf and mvt extensions for vector tiles for now. In the future, pbf option will be removed.
|
2022-11-21 19:29:36 +08:00 |
|
Brandon Liu
|
652666288b
|
cf set cache size explicitly
|
2022-11-21 19:29:36 +08:00 |
|
Brandon Liu
|
9fd1d39ab5
|
aws/cf depend on js/index instead of dist
|
2022-11-21 19:29:10 +08:00 |
|
Brandon Liu
|
91ddf2e913
|
cloudflare uses native decompression
|
2022-11-14 22:05:46 +08:00 |
|
Brandon Liu
|
79c87fb04a
|
MIME type fixups for CDN compression
|
2022-11-11 20:21:22 +08:00 |
|
Brandon Liu
|
02fa1a5a67
|
cloudflare cache API
|
2022-11-05 11:35:33 +08:00 |
|
Brandon Liu
|
9346762aa5
|
implement tile_path customization for cloudflare
|
2022-10-19 22:35:12 +08:00 |
|
Brandon Liu
|
da235cac22
|
cloudflare: clean up exports, correct status code
|
2022-10-19 19:36:06 +08:00 |
|
Brandon Liu
|
150252601e
|
cloudflare workers: ext and mime type based on header [#58]
|
2022-10-19 10:01:11 +08:00 |
|
Brandon Liu
|
b62f8f3675
|
migrate Cloudflare Workers implementation to v3 [#80]
|
2022-10-19 09:15:09 +08:00 |
|
Brandon Liu
|
3a77103373
|
move location of cloudflare typedefs
|
2022-07-19 20:27:40 +08:00 |
|
Brandon Liu
|
983c76e08d
|
copy cloudflare workers type declarations
|
2022-07-19 11:42:28 +08:00 |
|