Closed warmwhisky closed 3 years ago
See this example
What you could do is add a check e.g if ! config('app.debug')
then return false. Make sure to clear all cahed pages so the request can hit your app.
What @rajakhoury said.
Also note: even without disabling it, you still won't be served the cached files unless you update your Apache/nginx settings locally.
@rajakhoury @JosephSilber Thanks for the pointers. I ended up removing the entires from Apache htaccess for local then used gitignore and removed it from the git index.
Hey, do you have any advice on a way to pypass when in dev or local?