|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
src/main/java/org/jenkinsci/plugins/badge/BadgeAction.java
src/main/java/org/jenkinsci/plugins/badge/BadgeActionFactory.java
src/main/java/org/jenkinsci/plugins/badge/StatusImage.java
http://jenkins-ci.org/commit/embeddable-build-status-plugin/1bac74e1e2e2780504a04779175456cc8a8bda6c
Log:
[FIXED JENKINS-17028]
Some browsers appear to cache 302 requests in violation of RFC
(I'm looking at you, Chrome: http://code.google.com/p/chromium/issues/detail?id=103458)
I also saw this behavior with Firefox, even though I couldn't locate any
bug report.
Sine Chrome alone is a big enough browser share, in this change I
modified the code to avoid 302 redirects and instead to service the
request with 200.
To avoid excessive data transfer, ETag is used to detect that the
browser has the image in cache.
Compare: https://github.com/jenkinsci/embeddable-build-status-plugin/compare/233087cbd8dc...1bac74e1e2e2
–
You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.