a-ok Posted June 6, 2020 Share Posted June 6, 2020 I couldn't find an answer to this. Is it possible to declare both a time and if a template is saved to expire a cache? wire('cache')->save('instagramFeed', $result, 1800); wire('cache')->save('instagramFeed', $result, WireCache::expireDaily); wire('cache')->save('instagramFeed', $result, "template=home"); Any thoughts? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now