Skip to content

rpc: http jsonrpc don't set cache-control in response #5764

@yihuang

Description

@yihuang

Summary

Some of the RPC apis can be perfectly cached since the data is immutable, like /block /block_results, etc.
If we set proper cache-control response header, and setup with some http proxy cache server like varnish, we can easily archive great performance of http apis.

Problem Definition

Proposal


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

Labels

C:rpcComponent: JSON RPC, gRPCT:enhancementType: EnhancementT:jankType Jank! Non-urgent but still high-impact fixes.good first issueContributions Welcome!!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions