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.
# Procedure
- 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.
Maybe use wordpress transients, to cache the requests to moblizon.
Cache the mobilizon query.to Cache the mobilizon query? 11 months agoProcedure
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.