Skip to content

On-demand caching vs. cache job #2

@caseyohara

Description

@caseyohara

The Sinatra app has a tiny cache for the feed data to make requests more speedy for the user. It's set for a 3 hour expiration to keep it fresh, but unfortunately the first user to hit it has to wait while the cache rebuilds. After that it's fast as shit.

What's involved in setting up a background job to automatically rebuild the cache so we don't have to rely on a web request to kick one off?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions