Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Cache activity data #57

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Cache activity data #57

wants to merge 6 commits into from

Conversation

davegson
Copy link
Contributor

No description provided.

davegson added 5 commits May 3, 2019 13:40
the thought behind this is to be able to call the same method in the UI for different stamps. Another usecase is activities caching, which does not care about the stamp type, but does want to save the descriptor/stampable_name
1) the different caches are set up in Activity::CACHE_CONFIG

2) you can directly go ahead and use a cache, if a object has not saved the cache it will load and save it the first time it is called. The second time it already only calls the cache 🎉

So this can be deployed to production or caches can later be added without having to worry
@davegson davegson self-assigned this May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant