Cache the mobilizon query?
Openopened 11 months ago by linos · 1 comments
linos changed title from
Cache the mobilizon query. to Cache the mobilizon query? 11 months ago
- Only query 'uuid' and 'updatedAt' for the events
- For each event check if transient for uuid-updatedAt combination exists
- If transient exists: -> get_transient
- If transient does not exist: -> fetch event by uuid -> update/create transient
Pictures are saved in an extra transient?!
Transient cache time
could be calculated via event endsAt, but only if we never want to display past events, if we do, we could just use an arbitraty value.
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?