Replies: 1 comment
-
Ok a quick update. After doing some reading it looks like we could set the following option in
Would this be the right approach? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Our team has been looking into trying to specify a different cache driver only for a specific part of our application. We want to use the
file
cache driver for caching blade files without making it our default cache driver.We had noticed that the
ShouldBeUnique
middleware utilizes thisUniqueVia
function which specifies which cache driver is used for acquiring locks on unique jobs:We want to do something similar but for blade files. That is we want blade files to be cached using
file
, but are not sure how to proceed. There is not much information online about how one might go about this so just curious if anyone could point us in the right direction. Thanks!Beta Was this translation helpful? Give feedback.
All reactions