Skip to content

Add version to css URLs to avoid browser cache #970

Closed
@gemal

Description

@gemal

whenever the css for code coverage changes then the browser still has cache for the old file
A very easy way would be to include the version number in the URL of the css

So change:
<link href="{{path_to_root}}_css/bootstrap.min.css" rel="stylesheet" type="text/css">
to
<link href="{{path_to_root}}_css/bootstrap.min.css?v={{version}}" rel="stylesheet" type="text/css">

that should be done for all the css files

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