Skip to content

Improve Caching Mechanism #3

Open
masudm6 opened this issue Aug 12, 2023 · 0 comments
Open

Improve Caching Mechanism #3

masudm6 opened this issue Aug 12, 2023 · 0 comments
Assignees

Comments

@masudm6
Copy link
Owner

masudm6 commented Aug 12, 2023

From the feedback:

  • Implement cache header setting/checking.
  • Utilise HTTP cache response codes, such as 304 (Not Modified), where appropriate.

Notes and helpful stuff:

As a minimum, implement Cache-Control and ETags.
Then add expires-in and last-modified headers (for compatibility purposes with legacy clients)
Finally look into using something like redis to implement cacheing (or caching)

Side note: Cache - Cacheing or Caching?

An e at the end of a verb makes spelling things strange:

For some words it is obvious (think Dodge, Plunge), but for others it is confusing (specifically words ending with inge):
Binge - Bingeing or Binging?
Singe - Singeing or Singing? (!!)

For the word Singe, removing the e turns it into a different word altogether.
On the other hand, for words like bake and take, keeping the e just doesn't make sense. These all have a single consonant before final e.
For words with more than 1 consonant, like dance or wedge, removing the e is also the norm.
So despite the single exception listed at the start (for Singe), it seems that removing the e is preferred in these cases.

From this, I vote to remove the e. Caching.

Yet it still seems wrong ...

@masudm6 masudm6 self-assigned this Aug 12, 2023
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant