[jira] [Commented] (MESOS-708) Static files missing Last-Modified HTTP headers

2015-07-09 Thread Till Toenshoff (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14621394#comment-14621394
 ] 

Till Toenshoff commented on MESOS-708:
--

See MESOS-3026 for some serious problems of these patches.

 Static files missing Last-Modified HTTP headers
 -

 Key: MESOS-708
 URL: https://issues.apache.org/jira/browse/MESOS-708
 Project: Mesos
  Issue Type: Improvement
  Components: libprocess, webui
Affects Versions: 0.13.0
Reporter: Ross Allen
Assignee: Alexander Rojas
  Labels: mesosphere

 Static assets served by the Mesos master don't return Last-Modified HTTP 
 headers. That means clients receive a 200 status code and re-download assets 
 on every page request even if the assets haven't changed. Because Angular JS 
 does most of the work, the downloading happens only when you navigate to 
 Mesos master in your browser or use the browser's refresh.
 Example header for mesos.css:
 HTTP/1.1 200 OK
 Date: Thu, 26 Sep 2013 17:18:52 GMT
 Content-Length: 1670
 Content-Type: text/css
 Clients sometimes use the Date header for the same effect as 
 Last-Modified, but the date is always the time of the response from the 
 server, i.e. it changes on every request and makes the assets look new every 
 time.
 The Last-Modified header should be added and should be the last modified 
 time of the file. On subsequent requests for the same files, the master 
 should return 304 responses with no content rather than 200 with the full 
 files. It could save clients a lot of download time since Mesos assets are 
 rather heavyweight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-708) Static files missing Last-Modified HTTP headers

2015-06-09 Thread Alexander Rojas (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578877#comment-14578877
 ] 

Alexander Rojas commented on MESOS-708:
---

The edit was just last week. Looking for reviewers.

 Static files missing Last-Modified HTTP headers
 -

 Key: MESOS-708
 URL: https://issues.apache.org/jira/browse/MESOS-708
 Project: Mesos
  Issue Type: Improvement
  Components: libprocess, webui
Affects Versions: 0.13.0
Reporter: Ross Allen
Assignee: Alexander Rojas
  Labels: mesosphere

 Static assets served by the Mesos master don't return Last-Modified HTTP 
 headers. That means clients receive a 200 status code and re-download assets 
 on every page request even if the assets haven't changed. Because Angular JS 
 does most of the work, the downloading happens only when you navigate to 
 Mesos master in your browser or use the browser's refresh.
 Example header for mesos.css:
 HTTP/1.1 200 OK
 Date: Thu, 26 Sep 2013 17:18:52 GMT
 Content-Length: 1670
 Content-Type: text/css
 Clients sometimes use the Date header for the same effect as 
 Last-Modified, but the date is always the time of the response from the 
 server, i.e. it changes on every request and makes the assets look new every 
 time.
 The Last-Modified header should be added and should be the last modified 
 time of the file. On subsequent requests for the same files, the master 
 should return 304 responses with no content rather than 200 with the full 
 files. It could save clients a lot of download time since Mesos assets are 
 rather heavyweight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-708) Static files missing Last-Modified HTTP headers

2015-06-08 Thread Marco Massenzio (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14577898#comment-14577898
 ] 

Marco Massenzio commented on MESOS-708:
---

This was last updated in Feb - what's going on here?
Keeping in backlog for now.

 Static files missing Last-Modified HTTP headers
 -

 Key: MESOS-708
 URL: https://issues.apache.org/jira/browse/MESOS-708
 Project: Mesos
  Issue Type: Improvement
  Components: libprocess, webui
Affects Versions: 0.13.0
Reporter: Ross Allen
Assignee: Alexander Rojas
  Labels: mesosphere

 Static assets served by the Mesos master don't return Last-Modified HTTP 
 headers. That means clients receive a 200 status code and re-download assets 
 on every page request even if the assets haven't changed. Because Angular JS 
 does most of the work, the downloading happens only when you navigate to 
 Mesos master in your browser or use the browser's refresh.
 Example header for mesos.css:
 HTTP/1.1 200 OK
 Date: Thu, 26 Sep 2013 17:18:52 GMT
 Content-Length: 1670
 Content-Type: text/css
 Clients sometimes use the Date header for the same effect as 
 Last-Modified, but the date is always the time of the response from the 
 server, i.e. it changes on every request and makes the assets look new every 
 time.
 The Last-Modified header should be added and should be the last modified 
 time of the file. On subsequent requests for the same files, the master 
 should return 304 responses with no content rather than 200 with the full 
 files. It could save clients a lot of download time since Mesos assets are 
 rather heavyweight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-708) Static files missing Last-Modified HTTP headers

2015-02-13 Thread Alexander Rojas (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14320300#comment-14320300
 ] 

Alexander Rojas commented on MESOS-708:
---

https://reviews.apache.org/r/30032/

 Static files missing Last-Modified HTTP headers
 -

 Key: MESOS-708
 URL: https://issues.apache.org/jira/browse/MESOS-708
 Project: Mesos
  Issue Type: Improvement
  Components: libprocess, webui
Affects Versions: 0.13.0
Reporter: Ross Allen
Assignee: Alexander Rojas

 Static assets served by the Mesos master don't return Last-Modified HTTP 
 headers. That means clients receive a 200 status code and re-download assets 
 on every page request even if the assets haven't changed. Because Angular JS 
 does most of the work, the downloading happens only when you navigate to 
 Mesos master in your browser or use the browser's refresh.
 Example header for mesos.css:
 HTTP/1.1 200 OK
 Date: Thu, 26 Sep 2013 17:18:52 GMT
 Content-Length: 1670
 Content-Type: text/css
 Clients sometimes use the Date header for the same effect as 
 Last-Modified, but the date is always the time of the response from the 
 server, i.e. it changes on every request and makes the assets look new every 
 time.
 The Last-Modified header should be added and should be the last modified 
 time of the file. On subsequent requests for the same files, the master 
 should return 304 responses with no content rather than 200 with the full 
 files. It could save clients a lot of download time since Mesos assets are 
 rather heavyweight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)