Skip to content

[Miniflare] Add Miniflare#purgeCache() method to reset cache when required #4387

@Dav1dde

Description

@Dav1dde

Currently the cache is not reset when reloading the worker.

I have a [site] which gets cached, when I reload the worker to refresh the frontend ([site]), my old assets are still cached and won't get delivered until I restart MF or clear the cache some other way.

I think there should be an (optional) flag to allow resetting the cache on reload automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestminiflareRelating to Miniflarequick winPotentially easy/straightforward issue to tackle

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions