[GitHub] tomcat pull request: Honour server side precompressed format prefe...
GitHub user gmokki opened a pull request: https://github.com/apache/tomcat/pull/30 Honour server side precompressed format preference ... when client sends multiple accepted encodings with same quality (which all common browsers do). The goal here is to serve brotli encoded files with the default precompressed=true configuration if both .gz and .br files are present. If browser indicates a preferred order with quality values then that still takes precedence. You can merge this pull request into a Git repository by running: $ git pull https://github.com/NitorCreations/tomcat honour-serverside-encoding-preference Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tomcat/pull/30.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 #30 commit 6eb842d316a7fdb608c28a7b5c7eebb30b24c20b Author: Mikko Tiihonen Date: 2016-04-12T16:02:22Z Honour server side precompressed format preference when client sends multiple accepted encodings with same quality --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] tomcat pull request: Generalize the precompressed content serving ...
GitHub user gmokki opened a pull request: https://github.com/apache/tomcat/pull/28 Generalize the precompressed content serving from DefaultServlet Replaces all gzip specific handling with more generic precompressed content handling. More specifically, if the new precompressed parameter of DefaultServlet is set to true also brotli compressed (.br) files will be served in addition to gzipped files. The old gzip parameter functionality is preserved for backwards compatibility, but removed from documentation. The defining of new precompression file formats as parameter to the DefaultServlet can be added at later time. You can merge this pull request into a Git repository by running: $ git pull https://github.com/NitorCreations/tomcat generalize-precompressed-content-serving Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tomcat/pull/28.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 #28 commit c82eeabd5f4215ea3c60599a241b2bf0dcdfeed4 Author: Mikko Tiihonen Date: 2016-02-15T08:18:52Z Generalize the precompressed content serving from DefaultServlet to support by default also brotli compressed files --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GitHub] tomcat pull request: Generalize the precompressed content serving ...
Github user gmokki commented on the pull request: https://github.com/apache/tomcat/pull/28#issuecomment-189250517 Thank you for the review comments. Modified pull request to accept and pare "gzip=.gz,br=.br" syntax in the precompressed init parameter. Honors the full client preference settings from client as per RFC7231, including * and identity types. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org