Skip to content

Commit

Permalink
Update username.
Browse files Browse the repository at this point in the history
  • Loading branch information
awaitlink committed Jun 26, 2024
1 parent 4b5c286 commit 1edf5c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ There are multiple caching layers present:

2. **Cloudflare's caching of the `fetch` call in the worker (that requests the debug log from `debuglogs.org`):**

This cache appears to be enabled, based on the `cf-cache-status`, `age`, and `last-modified` headers that were returned with the worker's response (they are now being removed: https://github.com/u32i64/readlogs/commit/7d0a1e830a65f92a3a4218af6cc84a6d97c65a5f).
This cache appears to be enabled, based on the `cf-cache-status`, `age`, and `last-modified` headers that were returned with the worker's response (they are now being removed: https://github.com/awaitlink/readlogs/commit/7d0a1e830a65f92a3a4218af6cc84a6d97c65a5f).

However, the `cacheTtl` for the `fetch` call is now set to `0` (https://github.com/u32i64/readlogs/commit/066dee8148ebd20713dce6756b967f180bd379ff), so this cache immediately expires (see [Cloudflare cache responses](https://developers.cloudflare.com/cache/about/default-cache-behavior/#cloudflare-cache-responses); if the headers mentioned above aren't removed, the `cf-cache-status` given to the browser is `EXPIRED`), meaning the debug log should always be requested from the layer above.
However, the `cacheTtl` for the `fetch` call is now set to `0` (https://github.com/awaitlink/readlogs/commit/066dee8148ebd20713dce6756b967f180bd379ff), so this cache immediately expires (see [Cloudflare cache responses](https://developers.cloudflare.com/cache/about/default-cache-behavior/#cloudflare-cache-responses); if the headers mentioned above aren't removed, the `cf-cache-status` given to the browser is `EXPIRED`), meaning the debug log should always be requested from the layer above.

3. **Cloudflare's caching of the worker's response:**

Expand Down
4 changes: 2 additions & 2 deletions readlogs/src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ impl super::Model {
<footer class="bg-brand-bg-footer dark:bg-brand-dark-bg-footer mb-24 px-8 pb-12 pt-6 text-center">
<article class="prose dark:prose-invert prose-sm mx-auto">
<p>
<Link href="https://github.com/u32i64/readlogs" text="Readlogs" no_referrer={false} no_follow={false}/>
<Link href="https://github.com/awaitlink/readlogs" text="Readlogs" no_referrer={false} no_follow={false}/>
{ " is an unofficial project. It is not affiliated with the Signal Technology Foundation or Signal Messenger, LLC." }
</p>
<p>
<Link href="https://github.com/u32i64/readlogs#privacy-considerations" text="privacy considerations" no_referrer={false} no_follow={false}/>
<Link href="https://github.com/awaitlink/readlogs#privacy-considerations" text="privacy considerations" no_referrer={false} no_follow={false}/>
{" • version "}
<code>{ env!("VERGEN_GIT_SHA") }</code>
{ " (" }
Expand Down

0 comments on commit 1edf5c8

Please sign in to comment.