I created an xml file in the "etc" folder with the following contents:
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
"add Cache-Control: no-cache, no-store, must-revalidate"
to send Cache-Control header and named it web.xml. But what happens is that ORDS craches . I am pretty sure that the problem is with the code because when I delete the file, everything works fine. Plus that the code does not refer to a specif directory i.e d:\apex\images. The other problem is that the above code is just for sending cache-control header but I do not know how to gzip compression on the folder's contents. So, I need to enable gzip for the directory's contents and need the browser to cache it's contents too. I appreciate your help with this problem. Thank you.