-
Notifications
You must be signed in to change notification settings - Fork 2
Implement it #2
Implement it #2
Conversation
This PR will trigger a minor release when merged. |
Codecov Report
@@ Coverage Diff @@
## main #2 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 6 38 +32
=========================================
+ Hits 6 38 +32
Continue to review full report at Codecov.
|
``` | ||
|
||
- `host`: the inner cdn hostname | ||
- `xfh`: the outer cdn hostnames, comma separated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xfh
=== X-Forwarded-Host
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! But...
... obviously in the case of theblog it's not so simple, because the paths differ between inner and outer CDN... it would be cool if instead of the path
parameter, one could alternatively specify a surrogate key. This way we could also use this service to bust all cached index json segments at once.
We could then create a "Purge cache" bookmarklet, similar to the "Preview" one, which calculates the surrogate key from the URL of the source document.
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.