Regarding caching plugin availability
Dear @leokhoa ,
First of all thanks for providing a great application for local development.
I have a question regarding the caching plugins. Can you please confirm if any caching plugins are enabled to the software? Like
APCUor something like that?
I am having slow loading issues with local development and would like to disable any cache plugin if enabled. Now I have looked at
php.ini.and seems to cache feature was disabled. I would like to some official words from you before deep diving into the issue.
Dear @sharkar : Many thanks for your kind words.
By default, Laragon set no cache. To improve performance, you can consider using Nginx and increase the upstream process:
Also, you need to change setting of your MySQL/MariaDB to take advantage of your RAM. Google will help.
Hope it helps.
Thanks, @leokhoa for your prompt response! Sorry for delay response to you.
I am trying to optimize the loading, if anything comes positive, I will reply to this topic.
To use APCU (PHP 7.4):
- Go to APCu, there is a table with available releases
- Click on the DLL
- Choose package from DLL list, depending on what Windows you are using (I will use PHP 7.4 Thread Safe (TS) x64 )
- Unzip the archive, copy
- In laragon, Click on
php.iniand add these to you php.ini file (At the bottom maybe)
[apcu] extension = php_apcu.dll apc.enabled = 1 apc.shm_size = 32M apc.ttl = 7200 apc.enable_cli = 1 apc.serializer = php
See configuration here