Skip to content

404 page #12

@kettle11

Description

@kettle11

Right now if a .html file is not found devserver returns a 404, but it would be more easily noticed if a 404.html page were served.

Additionally with the current behavior if a page is quickly removed and then it's possible that devserver will refresh in the middle and return a 404 breaking development flow. A proper 404.html page would have the embedded reload script and so it would properly refresh to the final page.

A partial mitigation was proposed and implemented in this issue: #11. This mitigation does not fully solve the issue. If File A is deleted then added and File B is modified then File A could still return a 404 and the browser returns a page without the refresh script.

Many users developing static websites may have their own custom 404 page. A brief survey of existing development servers should be done to learn what the status quo for serving 404 pages is. Do they offer a flag to specify the path to the 404 file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions