Uploaded image for project: 'joind.in'
  1. JOINDIN-318

Unicode and cache issues with js files

    Details

    • Sprint:

      Description

      I'm noticing something weird when updating and trying to re-run my local js file. An old version, or partially complete version is repeatedly served instead of the correct, full file.

      The only thing that fixes it (I have cacheing switched off in my browser, and its happening in all my browsers) is vagrant halt, then vagrant up.

      Unsuccessful attempts to fix it include:

      • quitting and restarting my browsers
      • loading the js directly in the browser and adding ?sdfkjh to end of url
      • right clicking in Firebug to 'resend'

      Found this similar issue on stackoverflow: http://stackoverflow.com/questions/12782946/js-and-css-files-in-vagrant-not-properly-encoded-when-saved-outside-of-the-vm

      The fix that did work was putting the following inside /web/.htaccess

      EnableMMAP Off
      EnableSendfile Off

        Attachments

          Activity

            People

            • Assignee:
              tocacar T
              Reporter:
              tocacar T
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: