Kong / Kong/insomnia

Response cache having insane size

Open
#4,501 2 comments 0 reactions 0 assignees View on GitHub
B-bug B-performance S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

I'd not expect responses of 4 or even 9 gig's to be cached in my Library/Application support

### Actual Behavior

Schermafbeelding 2022-02-16 om 11 03 11

### Reproduction Steps

I have no clue how I got these massive responses in there, but some limits and/or warnings/notices would be greatly appreciated. I've also noticed that upon restarting these files DID clear out.

Thus this isn't a hard bug, but possibly something to take a look at

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2021.7.2

### What operating system are you using?

macOS

### Operating System Version

OSX Catalina 10.15.7

### Installation method

Direct Download / App

### Last Known Working Insomnia version

-

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the response-cache growth on macOS with Insomnia 2021.7.2 and inspect where cached responses are stored under Library/Application Support. Determine the expected size limit or warning behavior, including what happens after restarting; the issue does not name files or tests, so the completion criteria need clarification before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.