Static Content Not Displayed When Refreshing A Page With CTRL-R Using ORDS Standalone

(Doc ID 2405137.1)

Last updated on MAY 30, 2018

Applies to:

Oracle REST Data Services - Version 18.1.1 and later
Oracle Application Express (APEX) - Version 5.1 and later
Information in this document applies to any platform.

Symptoms

ORDS 18.1.1 version


When using CTRL-R or F5 to refresh the page the images / static content stop displaying. When hitting CTRL-R or F5 again the static content comes back.

The following error can be see and one can see that the following error occurs in the access.log if using a web server or in the browser console.

ERROR
-----------------------
 When we type CTRL-R or F5 to refresh a page, static content (/i/) is not displayed.

In the access_log file we see entries like the following for static content, error code 404:

172.29.2.1 - - [10/May/2018:14:38:32 +0000] "GET /i/app_ui/css/Core.min.css?v=5.1.4.00.08 HTTP/1.1" 404 257

 

If we type CTRL-R or F5 again the static content comes back.




Steps to Reproduce

The issue can be reproduced at will with the following steps in Firefox or IE 11:
1) Login in APEX Builder (can be any page that display images)

2) Type CTRL-R
The page is not re-displayed correctly (no-images),and  one can see 404 errors for css and js files in the browser console (when Developer Tools is activated with F12 on most browsers.)

3) Type CTRL-R again
The page is almost displayed correctly but some 404 errors are still seen.

4) Type CTRL-F5
Using CTRL-F5 always works, and all images are seen.

Changes

Upgraded to ORDS 18.1.1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms