wincache for IIS 10 - how to configure

wincache for IIS 10 - how to configure

by Heather P -
Number of replies: 4

Wincache for IIS 10 (windows server 2016) and php 7.2 with Moodle 3.5.+

I want to configure wincache, but I can't.

It isn't part of the standard Moodle build, there does not appear to be a current plugin for it and the windows platform installer doesn't have a version for php7.2

I've got the dll into the server (from 

https://windows.php.net/downloads/pecl/releases/wincache/)

the and configured the php.ini to know about it. php.info says it is there.

I just can't make Moodle use it.

This page https://github.com/Panman8201/moodle-cachestore_wincache/blob/master/wincache/README.txt seems to be too out of date to make use of. It refers to a cache store that isn't a default.

Can anybody point me in the right direction please.

Thank you

Heather

Average of ratings: -
In reply to Heather P

Re: wincache for IIS 10 - how to configure

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Heather,
since you're running PHP 5.5+, I'd recommend to stick with opcache, the only one "fully" supported by Moodle: https://docs.moodle.org/35/en/OPcache .

Is there any specific reason to use wincache?

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: wincache for IIS 10 - how to configure

by Heather P -

Hello

it has been suggested that Wincache helps with speed on the site in aspects other than those which Opcache will do and thus both together.... But I have no idea and will go with the consensus for the best operating procedure.

Basically I need the Moodle to be as fast as possible by the time we get the September intake.

Thank you

Heather

In reply to Heather P

Re: wincache for IIS 10 - how to configure

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Heather,
I'd use opcache only and work on the other areas affecting performances: disk, database, balancing based on the supposed concurrency in September.

To give you a ref about how wincache and opcache could cooperate together: https://forums.iis.net/t/1236918.aspx?Wincache+vs+opcache+coexist+Any+tuning+needed+ .
IMHO not really useful compared to the other areas above, including the need to properly manage how to invalidate the file caching when you need to update Moodle code (either core or plug-ins, ref).

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: wincache for IIS 10 - how to configure

by Heather P -

Thank you. 

We definitely need to look at balancing I think. I think we have addressed disk speeds this time, fingers crossed at least.

We are moving to Microsoft SQL and away from MySQL so hopefully that will be an area we gain speed on, at least we have more in house expertise with that to fine tune it, so I'm optomistic.

I think at this point I shall knock the wincache on the head and just keep my eye on developments for the future.

Heather