20.9 Browser Caching

Browser caching behavior is dependent on the browser being used and the settings applied by the user.

For the most part, the browser cache simply keeps a copy of the HTML and JavaScript files that it has already used. When a Web Page is requested by the browser, the web server checks to see whether there are newer versions of the files available.

Visual LANSA appends a date and time stamp to the end of the URL when executing from the IDE. This results in a subtly different URL each time which causes the browser to check for a newer version of the source every time the page is executed.

However, for reasons that aren't entirely clear, browsers sometimes get it wrong and the previous version of the generated script is used at execution time instead. This can be particularly frustrating when developing, as changes made in the RDMLX don't appear at runtime. In this case clear the browser cache and execute your Web Page again.