Skip to content

Add Site Health test to verify that static assets are served with far-future expires #323

@westonruter

Description

@westonruter

Feature Description

In order to leverage the browser cache effectively, page assets like images, scripts, and stylesheets should all be served with far-future expires. A Site Health test could be added which checks for the necessary asset response headers (i.e. Cache-Control and/or Expires) and warns when they are not present. The call to action would be to fix the web server configuration, potentially prompting the user to contact their host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DevAnything that requires development (e.g. a pull request)[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin only[Type] EnhancementA suggestion for improvement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions