When repeating interval, rerender only if there are changes #3622
Unanswered
liron-navon
asked this question in
Ideas
Replies: 1 comment
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I'm using insomnia to test a server that generates files, I would like to use the repeated interval to send requests to the local development server every second or so, but render the file only if it has changed since the last request, i.e not have useless renders since it makes it hard to test.
Another solution for my issue would be to solve issue 1801: #1801
Describe the solution you'd like
Check the new and last response, and only render the preview if there was a change, we could base64 the response so the comparison is the same if it's a file or a string
Describe alternatives you've considered
just call the request manually every time, but since I edit the file every few seconds, it's tiering
Additional context
I'd be more than happy to help out and implement this and also issue 1801 if the team does want to solve these issues.
Insomnia core
Version: Insomnia Core 2020.5.0
Release date: 01/12/2020
OS: Darwin x64 19.6.0
Electron: 9.1.1
Node: 12.14.1
V8: 8.3.110.13-electron.0
Architecture: x64
node-libcurl: libcurl/7.69.1 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.7 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.41.0
Beta Was this translation helpful? Give feedback.
All reactions