Databases Reference
In-Depth Information
Button Name
: RELOAD_PAGE
Position
: Bottom of Region
Alignment
: Left
Action
: Redirect to Page in this Application
Page
: 50
This button will be used to simulate someone clicking a link to the page. If you
refresh the page using the browser's refresh button, it will automatically fetch
the files from the web server rather than using cached versions.
View the initial browser request.
Go back to the main
Application 100
page in the
Application Builder
. Click the big
Run Application
button.
On the run page, you can log in to the application and continue to Page 50.
Open the JavaScript console by pressing Ctrl+Shift+J.
On the JavaScript console, click the
Network
tab and filter by clicking the
Scripts
button. Figure 7-7 highlights these two buttons.
Figure 7-7. Google Chrome JavaScript console configuration
Click the
Cache Demo
tab at the top of the page. The JavaScript console should look
like Figure 7-8. The two things to note from Figure 7-8 are that the
Status
for
apressDemo.js
is
200 OK
and that the console printed
version 1
as expected.
200
OK
means that it downloaded the file from the web server.
Figure 7-9 shows the network timeline for the file load. You'll notice that it took
~300ms to get the file from the server.