After making a minor adjustment to my JavaScript file on my deployed ASP MVC website hosted on Azure, I decided to redeploy everything. However, upon checking the resource files, I noticed that the JavaScript had indeed been changed, but the behavior of the website remained unchanged. What could be causing this discrepancy and how can it be resolved?
Interestingly, the change seems to work fine when running the website locally.
Here's some additional context:
The JavaScript was bundled using the ASP MVC bundling system. The specific code that was altered is as follows:
$('#welcome-messages ul').bxSlider({
mode: 'vertical',
auto: true,
minSlides: 1,
responsive: true,
touchEnabled: true,
pager: false,
controls: false,
useCSS: false,
pause: 10000 // HERE
});
changed to
$('#welcome-messages ul').bxSlider({
mode: 'vertical',
auto: true,
minSlides: 1,
responsive: true,
touchEnabled: true,
pager: false,
controls: false,
useCSS: false,
pause: 3000 // TO HERE
});
If you'd like to view the minified file generated by ASP MVC for the website:
$("#welcome-messages ul").bxSlider({mode:"vertical",auto:!0,minSlides:1,responsive:!0,touchEnabled:!0,pager:!1,controls:!1,useCSS:!1,pause:1e3});
In summary, I adjusted the pause time between slides from 10 seconds to 3 seconds, yet the website continues to exhibit a 10-second delay despite the JavaScript modification.
I'm also curious about accessing the files uploaded to the Azure website. Other hosting platforms typically provide options such as file managers or FTP access. Can Azure websites' root folders be accessed using FTP as well?