Web server cache headers

Hi all,

We use DreamFactory 2.2.0 to host an AngularJS webapp which is stored in the Local file storage service, exposed via public path and configured as an app “on a provisioned file storage service” on the Apps section of the admin panel.

We noticed that when a new version of the webapp is deployed on the server, some browsers don’t detect the change in the source files and load the previous version. Some browsers may even load only some of the updated files, but not all of them, which makes our webapp inconsistent.

We actually verified that some browsers like Google Chrome don’t even request some of the webapp files. According to this Stack Exchange answer it may be caused by the Expires and the Last-Modified headers returned by the server.

The headers returned by the DF webserver look similar to this:

Date:Tue, 27 Dec 2016 10:32:36 GMT
Last-Modified:Wed, 14 Dec 2016 10:00:28 GMT

Is there any way to configured the cache headers of the files served from the Local file storage service?

Thanks in advance.

Is this a known topic? Where can I find information about it @benbusse?

Thanks in advance

Nobody has ever had this problem before?

Issue created at https://github.com/dreamfactorysoftware/dreamfactory/issues/135