Skip to content

Move tiles and other image resources outside of the build process, share them from the host instead #115

@3vcloud

Description

@3vcloud

[11:57]Jon [SNOW]: @Furtun an unexpected side effect of building the party search server as part of the docker build process instead of just sharing the folders across - file modified times for all of the tiles are wiped, meaning "Last-Modified" headers for map tiles invalidate browser cache

[11:58]Jon [SNOW]: I commented out a line of code on server.mjs, had to rebuild the container image from scratch, and subsequently ddosed the server when i restarted it with all the visitors

[11:59]Jon [SNOW]: cloudflare sees that the tile image(s) are "new" and thinks "right, time to clear my own cache too now" so the CF layer doesn't help then eitehr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions