Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalidate model cache in code. #508

mikebronner started this conversation in Ideas
Discussion options

One aspect that can be improved in this package would be a way of invalidating the cache directly from the code using a Facade after a mass assignment/update instead of having to rely on an Artisan call like:

Artisan::call('modelCache:clear', ['--model' => 'App\Model']);

Originally posted by @daika7ana in #479

You must be logged in to vote

Replies: 1 comment

Comment options

@daika7ana thanks for this suggestion, great idea.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
1 participant
Converted from issue

This discussion was converted from issue #482 on March 05, 2025 13:58.

AltStyle によって変換されたページ (->オリジナル) /