Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
586 views

phpfastcache v6.1.4 and redis is up running on default port 6379 through Kubernetes. PHP Fatal error: Uncaught phpFastCache\Exceptions\phpFastCacheDriverCheckException: Redis is not installed or is ...
user3552178's user avatar
  • 3,033
0 votes
1 answer
119 views

I'm thinking of replacing some of my file system caching (via phpfastcache) over to memcache (again using phpfastcache) but I have a query on storage sizes. Potentially a silly question but: If I had ...
GenesisBits's user avatar
1 vote
1 answer
2k views

I want to cache the API responses so that number of requests to the API server are reduced. API's are written in PHP using zend framework. My approach: I created a redis cluster and I used ...
akshayghatiki's user avatar
4 votes
2 answers
538 views

Here is the code: public static function applyInvalidationTags(ExtendedCacheItemInterface $cacheItem, $values): void { $isSomething = false; $tags = []; foreach ($...
Mosset Jérémie's user avatar
1 vote
0 answers
110 views

I've had a couple of max_user_connections over the last few weeks. My old value was set to 50 and I could get upwards of 100+ errors per day. My new value is 100 and this has reduced to 0-5 per day. ...
GenesisBits's user avatar
0 votes
2 answers
732 views

I am trying to set a connection to redis using phpfastcache but I keep getting connection refuse Here is my simple code: $defaultDriver = 'Redis'; $Psr16Adapter = new Psr16Adapter($...
shape's user avatar
  • 95
0 votes
1 answer
586 views

I have an API and I've been trying to add cache control headers to it. The API already makes use of PhpFastCache for server side caching but I wanted to add an additional layer of browser control ...
GenesisBits's user avatar
0 votes
0 answers
476 views

I am facing the following issue in the production server (not in local or dev): production.ERROR: phpFastCache\Exceptions\phpFastCacheDriverException: PLEASE CREATE OR CHMOD /var/www/curator5/...
Orlando Tejeda's user avatar
1 vote
1 answer
222 views

I have multiple wordpress specific queries firing when a user visits my homepage. I could have 150+ users visit concurrently with maybe 25+ of them hitting the homepage. Here is an example of one ...
GenesisBits's user avatar
0 votes
1 answer
510 views

When I talk to redis directly I can use Redis::OPT_PREFIX to ensure i'm not overwriting keys. e.g. namespacing .. $redis = new Redis(); if ($redis->connect('127.0.0.1', 6379)) { $...
frumbert's user avatar
  • 2,465
0 votes
1 answer
2k views

I am trying to use phpFastCache for all caching needs but I really don't understand how to use it. I understand their are examples and yes I have tried them and they are successful but it's not ...
Tyler Shannon's user avatar
0 votes
3 answers
886 views

I'm using Server-Sent Events, to print messages for user. In infinite loop, every 10 seconds I check if there is any new item in cache to broadcast: $messages_to_broadcast = $this->_cache->...
Jędrzej Skrzypczak's user avatar
0 votes
1 answer
225 views

I am going to use phpfastcache-bundle with symfony3. I have found a documentation how to use it with file driver. But docs are poor on other drivers. How can I setup a redis driver with symfony?
FreeLightman's user avatar
  • 2,312
0 votes
2 answers
295 views

I'm using phpfastcache with files strategy. I'm caching sql queries. As I see phpfastcache creates folders with subdomain name (ex. www.domain.pl). I have admin panel in admin.domain.pl which calls ...
piernik's user avatar
  • 3,667
1 vote
1 answer
887 views

I'm trying to implement memcached for my php project and my code never gets past the CacheManager::getInstance() call because the phpFastCache is bombing on instantiating the right driver for the ...
radamnyc's user avatar
  • 157
0 votes
1 answer
2k views

I'm currently able to use Memcached proper using the Memcached class. Setting the port for Memcached seems to work like this; $mem = new memcached(); $mem->addServer("127.0.0.1", 3333); The ...
Sefam's user avatar
  • 1,793
0 votes
1 answer
428 views

I have a web application built using PHP and MySQL. Now the database is hitting the red line due to the load. I am trying to use phpfastcache to store set of data into redis and reduce the load on the ...
GBhat's user avatar
  • 37
1 vote
3 answers
737 views

I would like to include at the beginning of my script a PHP file that open a IF condition. Then i write my script, and to finish I include another PHP file that close the conditon. This bring me to a ...
TooLiPHoNe.NeT's user avatar
5 votes
1 answer
213 views

I'm trying to adopt a cache class to use on my web page. Simple logic is like that: Try to get data from cache: If there is not: run query and set this as a cache. If there is: show data from cache. ...
LetsSeo's user avatar
  • 875
2 votes
1 answer
2k views

I'm using phpFastCache in a frontend-application, setting the path to the server's "/tmp/" directory: phpFastCache::setup('path',"/tmp/"); I do not want to use phpFastCache's automatically found ...
Dirk Seifert's user avatar
1 vote
0 answers
823 views

free -m total used free shared buffers cached Mem: 24028 23636 392 0 345 8104 -/+ buffers/cache: 15186 8842 ...
Yk666's user avatar
  • 29
1 vote
1 answer
828 views

I have a question regarding phpfastcache that i hope someone can answer and explain to me. phpfastcache claim that it can serv 10,000+ visitors, but what is the limit it can serv if there is any? let ...
user1341993's user avatar
2 votes
0 answers
741 views

I use phpfastcache with these settings: phpFastCache::setup("storage","auto"); phpFastCache::setup("path", '/path/to/some/dir'); The auto setting results in the use of the files driver. Whenever I ...
Koen Peters's user avatar
  • 12.9k