8000 Stale content due to lack of Cache-Control headers (dev server) · Issue #126 · gobblejs/gobble · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Stale content due to lack of Cache-Control headers (dev server) #126

Open

Description

@msegado

The Gobble dev server doesn't set any cache-control headers, which can lead to browsers caching content during development (and some related head-scratching about why the latest changes aren't showing up). Should be easy to fix by adding something like the following to all the server responses:

response.setHeader( 'Cache-Control', 'no-cache' );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0