Framework: Cache store [wincache] is not defined

Created on 8 Feb 2016  路  14Comments  路  Source: laravel/framework

The wincache driver appears to exist in Illuminate\Cache in the form of WinCacheStore created by the CacheManager method createWincacheDriver but due to the configuration cache.stores.wincache not existing, attempting to use the driver leads to a Cache store [wincache] is not defined exception.

Most helpful comment

I finally got round to writing a package to add back Wincache if anyone is interested: https://packagist.org/packages/wmather/wincache

All 14 comments

Same issue here

Ping @taylorotwell.

You can stay on L5.1 LTS if you'd like them.

@GrahamCampbell I'm not sure if those drivers were meant to work in 5.1 either.

@arrilot what do you mean by not meant to work?

what do you mean by not meant to work?

They were removed from the core.

Ah, I see. I am still a little confused as to why working functionality was disabled and then removed from core but I guess it will be easy enough to write a third party driver - actually this will give me an excuse to do so :+1:

I was going to upgrade to 5.2 but this might be the final straw. I am happy to help out with a package, but would need some pointers on how to go about it. This is business critical for my team.

This is another example of how Taylor doesn't give a shit about anyone that uses something he doesn't. Too many of the releases in the last 18 months have been about removing previously existing features due to a different flavour of the month.

Some visibility on the decision process would be nice. Framework additions get lavish discussions regarding the chosen solution, coding style and achieveing theoretical perfection, yet framework removals are just fair game; one day it's just.......... _gone_.

Please don't make 5.1 into the WinXP of Laravel.

@wmather I am investigating how I would go about writing the driver this week as I have a number of Laravel based applications being migrated to Azure.

Couldn't you just use "traditional" drivers such as redis or memcache?
Are they unavailable in Azure?

@arrilot that's not an unreasonable question, Azzure web apps have wincache installed by default; its a locked down IIS environment and while I could install Redis or memcache on a separate VM, link it via a VPN and then amend the php ini to install a compiled version of the required extension, it is far easier to go with what is provided given that it is good enough and already available (also I would have to do the previous steps over 50 times, once per web app, which unfortunately adds up in time.)

I finally got round to writing a package to add back Wincache if anyone is interested: https://packagist.org/packages/wmather/wincache

@wmather thank you for letting us know :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PhiloNL picture PhiloNL  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

RomainSauvaire picture RomainSauvaire  路  3Comments

lzp819739483 picture lzp819739483  路  3Comments

shopblocks picture shopblocks  路  3Comments