electron-trpc icon indicating copy to clipboard operation
electron-trpc copied to clipboard

[feature-request] It would be a very good feature if `electron-trpc` could implement the cache functionality.

Open liaodalin19903 opened this issue 10 months ago • 1 comments

Hello,

There is a really great feature. I think it would be excellent if electron-trpc could implement it.

For example, there is a third - party library called axios-cache-interceptor for Axios, which is used to cache Axios' HTTP requests to reduce the pressure on the server side.

It would be a very good feature if electron-trpc could implement this functionality.

liaodalin19903 avatar Feb 10 '25 09:02 liaodalin19903

Correct me if I'm wrong, but the underlying query library that trpc is built on has caching built in does it not? (https://tanstack.com/query/latest)

mgray88 avatar Mar 06 '25 21:03 mgray88