mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[PR #506] [CLOSED] A way to speed-up login on slow CPU #1274
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#1274
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/506
Author: @R-II
Created: 12/24/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (4)
76af28aphp artisan koel:init-cache855f470php artisan koel:init-cache39f4255php artisan koel:init-cacheecc7351php artisan koel:init-cache📊 Changes
3 files changed (+149 additions, -24 deletions)
View changed files
➕
app/Console/Commands/InitCache.php(+115 -0)📝
app/Console/Kernel.php(+1 -0)📝
app/Http/Controllers/API/DataController.php(+33 -24)📄 Description
Hi,
I use Koel on a Raspberry 3, I have 20 000 songs, login takes around 50 seconds.
So I added a cache system that speed up the process to less than 10 seconds.
Just add
php artisan koel:init-cacheto your cron jobs and it'll cache everything that each user may need to login.Works only with APC.
Cheers
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.