Skip to content

static content randomly 404s #8

@ghost

Description

Sometimes when I go to the /websites extension on one of my Azure websites I just get the html page with no images, css, or js loaded. Refreshing the page doesn't resolve it. When it happens I usually try multiple things like restarting my site, clearing browser cache, etc, and sometimes it will start working. Sometimes I just try again later and it works. I'm sure there's a pattern to when it happens and what resolves it but I haven't been able to find it.
The Chrome console shows the following:

GET https://myapp.scm.azurewebsites.net/Content/css/bootstrap.css         websitelogs:9
GET https://myapp.scm.azurewebsites.net/Content/js/bootstrap.js           websitelogs:49
GET https://myapp.scm.azurewebsites.net/Content/css/jquery.dataTables.css websitelogs:10 
GET https://myapp.scm.azurewebsites.net/Content/css/thatlog.css           websitelogs:11 
GET https://myapp.scm.azurewebsites.net/Content/js/jquery-1.10.1.min.js   websitelogs:48 
GET https://myapp.scm.azurewebsites.net/Content/js/jquery.dataTables.js   websitelogs:50 
GET https://myapp.scm.azurewebsites.net/Content/js/thatlogextension.js    websitelogs:52 
GET https://myapp.scm.azurewebsites.net/Content/js/moment.min.js          websitelogs:51 
Uncaught ReferenceError: $ is not defined                                 websitelogs:134 
GET https://myapp.scm.azurewebsites.net/Content/images/logbrowser.gif 404 (Not Found)

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