tippenein / seent

seer stats
https://seery.xyz
3 stars 3 forks source link

cache plot data #15

Closed tippenein closed 6 months ago

tippenein commented 7 months ago

We should cache the plot data for a few days. Something like

CREATE TABLE image_cache (
    token TEXT PRIMARY KEY,
    image_data TEXT -- or BYTEA if you prefer to store the binary data
    date_added timestamp
);
tippenein commented 6 months ago

this is done natively by flask through the endpoint decoration