mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[PR #1839] [MERGED] chore: cache model attributes #1898
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1898
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1839
Author: @phanan
Created: 10/5/2024
Status: ✅ Merged
Merged: 10/6/2024
Merged by: @phanan
Base:
master← Head:attr-should-cache📝 Commits (1)
577ec1cchore: cache model attributes📊 Changes
7 files changed (+38 additions, -31 deletions)
View changed files
📝
app/Models/Album.php(+10 -7)📝
app/Models/Artist.php(+6 -4)📝
app/Models/License.php(+2 -2)📝
app/Models/Playlist.php(+6 -6)📝
app/Models/PlaylistCollaborationToken.php(+1 -1)📝
app/Models/Song.php(+7 -7)📝
app/Models/User.php(+6 -4)📄 Description
Use
shouldCache()on (applicable) attributes for some micro improvements.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.