You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/09/19 20:05:34 UTC

[jira] [Commented] (CB-7572) Serve should respond with 304 when resources are not modified

    [ https://issues.apache.org/jira/browse/CB-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140999#comment-14140999 ] 

ASF GitHub Bot commented on CB-7572:
------------------------------------

GitHub user bryanhiggins opened a pull request:

    https://github.com/apache/cordova-lib/pull/88

    CB-7572 Serve - respond with 304 when resource not modified

    This will prevent a lot of unnecessary network traffic, especially in situations such as a list control which has the same icon on each row.
    
    I've tested it on OSX with Chrome, but plan on testing Windows and with mobile devices before merging.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blackberry-webworks/cordova-lib 304

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/88.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #88
    
----
commit 88855bc066d700ca77aaedf8ffb934d3b4b68a5b
Author: Bryan Higgins <bh...@blackberry.com>
Date:   2014-09-19T18:02:12Z

    CB-7572 Serve - respond with 304 when resource not modified

----


> Serve should respond with 304 when resources are not modified
> -------------------------------------------------------------
>
>                 Key: CB-7572
>                 URL: https://issues.apache.org/jira/browse/CB-7572
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.6.0
>            Reporter: Bryan Higgins
>            Assignee: Bryan Higgins
>            Priority: Minor
>
> It would be nice if serve set the Last-Modified header and responded with 304 based on the If-Modified-Since request header.
> This will prevent a lot of unnecessary network traffic, especially in situations such as a list control which has the same icon on each row.



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