Skip to content

JavaScript files and HTML templates might be cached by browsers #196

@mauroservienti

Description

@mauroservienti

When attempting exercises that touch the front-end portion of the application, currently built using AngularJS, it might happen that HTML templates are cached by browsers making it very difficult to debug what's going on.

We're moving away from Angular, however it’s not an Angular issue per se. Browsers cache JavaScript and HTML templates by default, thus moving away from Angular doesn’t solve the problem if we still want to have a single page application as client.

The easiest workaround, that we should document, is to disable browser cache, this can be easily achieved using browser debugging tools without clearing browser cache in its entirety.

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