Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Setting the cache control  #114

@paolobarbolini

Description

@paolobarbolini

Have you ever thought of adding the ability to set the cache control of a response?
This would be extremely useful for a few reasons:

  1. Cloudflare would cache the response in their cdn, reducing the load on your servers for particularly popular urls.
  2. We wouldn't hammer the origin servers receiving the request
  3. We would get better performance, since we could get an answer from a closer cdn node or for origins far from crossorigin.me servers, this would be extremely useful for a project I'm currently working on which requests pages from a website hosted in Italy, which currently takes 4 seconds.

I could implement this myself if you like this idea.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions