Commit d97eabb
committed
Do not cache multipart MIME types in cache
Prior to this commmit, "mutipart/*" MIME types would be cached by the `MimeTypeUtils` LRU cache. Since those MIME types are likely to have random boundaries in them, they can waste space in the LRU cache. This is not improving things since we're parsing them anyway. This commit skips the caching step for all "multipart" MIME types. Fixes gh-247671 parent 1cd0e72 commit d97eabb
File tree
1 file changed
+4
-0
lines changed- spring-core/src/main/java/org/springframework/util
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
| |||
0 commit comments