This update adds a new method: Server.SetStaticFilesOptions.
This method accepts a Map with configuration parameters that affect the way the server serves static files.
For example:
The list of parameters is available here: http://download.eclipse.org/jetty/9...org/eclipse/jetty/servlet/DefaultServlet.html
This method accepts a Map with configuration parameters that affect the way the server serves static files.
For example:
B4X:
srvr.SetStaticFilesOptions(CreateMap("cacheControl": "max-age=3600"))
The list of parameters is available here: http://download.eclipse.org/jetty/9...org/eclipse/jetty/servlet/DefaultServlet.html
Attachments
Last edited: