Skip to content

Allow browsers to cache static assets #6520

@Bargs

Description

@Bargs

Right now we send cache-control: no-cache in response to requests for the webpack generated css and js bundles, and probably other static assets. Since these files only change as often as the Kibana version, and we already send the build number as a query param in the request to bust the cache, we should totally allow the browser to cache them. But Kibana is a single page app you say, it's only the initial page load that's slow so it's not that important. But that's not always the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//enhancementNew value added to drive a business resultgood first issuelow hanging fruit

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions