Skip to content

Conversation

@syphar
Copy link
Member

@syphar syphar commented May 23, 2025

This PR would enable fastly origin shield for our webserver.
We have a huge number of pages that are accesed regularly, but not that often. Right now every POP manages its own cache, and also requests the origin on its own.

I hope this feature can help to improve cache ratio and offload more cachable requests from our server.

see also:

@syphar

This comment was marked as outdated.

@syphar syphar force-pushed the docsrs-origin-shielt branch from ddc1e6e to cd8ae65 Compare May 23, 2025 07:11
@marcoieni marcoieni mentioned this pull request Nov 24, 2025
10 tasks
@syphar syphar force-pushed the docsrs-origin-shielt branch 2 times, most recently from 113bbc5 to 58a07d6 Compare November 27, 2025 06:39
@syphar
Copy link
Member Author

syphar commented Nov 27, 2025

note: let's try to test this first somehow

@marcoieni
Copy link
Member

I tried to apply this but it's not compatible with wasm services. I asked clarification to fastly's support

@syphar syphar force-pushed the docsrs-origin-shielt branch 2 times, most recently from 0b5ee4e to 127cf0d Compare December 2, 2025 05:52
@syphar syphar requested a review from marcoieni December 2, 2025 05:53
@syphar
Copy link
Member Author

syphar commented Dec 2, 2025

@marcoieni I updated the compute logic to what I think would the a correct approach.

Right now the code is written very defensively, I want to see some logs when we play around with it.

What do you think?

Also about the logic?

@syphar syphar force-pushed the docsrs-origin-shielt branch from 127cf0d to 0ea4907 Compare December 2, 2025 05:59
Copy link
Member

@marcoieni marcoieni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense to me. Let me know when you want to apply it 👍

@marcoieni marcoieni merged commit c9de5fe into rust-lang:master Dec 2, 2025
4 checks passed
@marcoieni
Copy link
Member

applied

@syphar syphar deleted the docsrs-origin-shielt branch December 2, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants