Databases Reference
In-Depth Information
Figure 7-13. HTML Header and Body Attribute apressDemo2.js reference
Go back to the application and click the Reload Page button. The developer console
window should look like Figure 7-14
You can now see that the browser assumes apressDemo2.js is a new file and
retrieves it from the web server rather than its cache. The JavaScript console
also displays the correct message.
Figure 7-14. Developer console for apressDemo2.js
This section covered in detail the effects of browser caching external files and how to work around
this issue. It is extremely important that you remember and understand this, as it can help prevent
problems in the long run.
 
Search WWH ::




Custom Search