title: Nginx caching angular js files
body: <p>I have an angular site that im trying to publish to nginx, this is my nginx configuration. It works in routing to the pages:</p>
  
  <pre><code>server {
      listen 80;
      server_name test.domain.com;
  
      root /home/user/angular/app/;
  
      index index.html;    
  
      location / {
          root /home/user/angular/app/;
          try_files $uri $uri/ /index.html =404;
      }
  } 
  </code></pre>
  
  <p>As you can see it doesn't have anything on cache, and according to nginx doc it shouldn't cache anything that way. </p>
  
  <p>But when i make changes in my js files (html changes are displayed correctly) thay are not refreshed accordingly (i see things i deleted from them, wrong behavior, etc)</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you</p>