Comments (1)
Hi @jprakashbabu. Dropwizard 2.1.11 and the provided Jetty version 9.4.53 are out of support, so please migrate to a more recent Dropwizard version. In general, we won't provide full support for versions announced to be EOL. The correct place would be the discussion board. Please don't raise a discussion and an issue, usually only one option fits 😉
That being said, I don't see an issue here. When using your include list
server:
gzip:
enabled: true
compressedMimeTypes:
- text/html
- text/xml
- application/x-javascript
- text/javascript
- text/css
my JS file gets compressed correctly.
Can you please let me know if I am missing something here (or) is the exclude list taking precedence over the include ?
When checking, if the MIME-type should be compressed, Jetty first evaluates the include list and then additionally validates, that the type is not in the exclude list. The default exclude list however doesn't list application/x-javascript
as an excluded MIME-type.
from dropwizard.
Related Issues (20)
- DropwizardJettyServerAdapter in DropWizard3 causing exception when there are multiple HttpHeaders HOT 9
- Update Logback to fix CVE-2023-6378? HOT 4
- NPE in tests when a factory is used to inject a value to a resource method parameter HOT 2
- Managed virtual thread pool HOT 2
- Deserialization failures due to Afterburner HOT 1
- Server starts and stops immediately when both enableVirtualThreads and enableAdminVirtualThreads are set to true HOT 5
- delay between tests that use DropwizardExtensionsSupport HOT 2
- Logging request and response body with RequestLogFactory HOT 2
- Dependency Injection issue in AuthFilter HOT 4
- Add cache support for stale-while-revalidate HOT 1
- Redirect log output for commands other than "server" HOT 2
- Enhancement: Make Cli ArgumentParsers locale configurable HOT 6
- Enhancement: Expose `message` property in Dropwizard health functionality
- servletEnabled not working when using dropwizard-core:4.0.3 and metrics-jakarta.servlets:4.2.21
- Dropwizard doesn't support HTTP trailers HOT 2
- Timing-Bug when logging once and a possible workaround HOT 6
- When will the 5.x version be released to support jetty12?
- Client connection leak with chunked and compressed responses HOT 2
- DropwizardResourceConfig Logs Paths that Do Not Work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropwizard.