Skip to content

Disable Caching #485

@nickeb96

Description

@nickeb96

Description

It would be very helpful if there was a way to disable caching.

Why is this useful?

Currently, if the files you're serving change, you need to either kill and restart the command, or open up your browsers dev tools window and temporarily disable cacheing in the options.

The node package http-server allows you to modify caching defaults with a -c flag. The lack of cache options is the only thing stoping me from switching to this http server command.

How should this work?

I think the simplest way to implement this would be to add a cli flag and a config value for shortening the cache time or disabling it altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions