Questions tagged [zend-cache]

The tag "zend-cache" means one of the following: 1) The data cache functions of Zend Server 2) The Zend Cache Extension of Zend Platform 2) The component Zend\Cache of Zend Framework 2 3) The component Zend_Cache of Zend Framework 1

The tag "zend-cache" means one of the following:

  1. The data cache functions of Zend Server
  2. The Zend Cache Extension of Zend Platform
  3. The component Zend\Cache of Zend Framework 2
  4. The component Zend_Cache of Zend Framework 1
103 questions
2
votes
1 answer

Storing data in Zend_Registry vs Zend_Cache

So far i have been using Bootstrap.php to load my application.ini config into Zend_Registry as well as an instance of logger. I was wondering if storing these inside Zend_Cache would be a better solution as these remain unchanged over lifespan of…
Shoaibi
  • 859
  • 2
  • 11
  • 23
2
votes
2 answers

ZF: Disable Resource Plugin in application.ini

How can I disable cache in the cli enviroment? Reason being, the system user that executes the script is not allowed to write to the cache directory, thus the script is unable to execute. In my application.ini I…
Phliplip
  • 3,582
  • 2
  • 25
  • 42
2
votes
2 answers

SilverStripe behind load balancer

I've got an instance of SilverStripe running on two servers behind an AWS load balancer. To share the session information I'm running Elasticache Redis server. I'm setting my php session store info as such: ini_set('session.save_handler',…
Rudiger
  • 6,749
  • 13
  • 51
  • 102
2
votes
1 answer

Zend_Cache usage howtos

are there any good tutorials on zend cache except their official documentation ?
Conex
  • 832
  • 8
  • 17
2
votes
2 answers

What's the current state of accelerators in Zend?

I hear about accelerators such as these in PHP. I believe APC is making it to PHP 6 also. Eaccelerator APC Xcache What's the state of accelerators in Zend? I see a Zend_Cache. Is it the standard and is there more?
jblue
  • 4,390
  • 4
  • 46
  • 79
2
votes
0 answers

Error 'Class undefined: Zend_Cache' when install Magento on HHVM and Nginx

I want to install Magento 1.9.2.1 on my server with Nginx, HHVM & MySQL. I managed to install & configure Nginx, HHVM & MySQL to work. With the latest source code of Magento version 1.9.2.1, I put it in the root folder of my site, then access the…
NgocDB
  • 131
  • 5
2
votes
1 answer

Zend Framework 1 - Zend Caching

I am working on optimizing Zend Framework Application with Doctrine ORM. I can't figure it out what particular code would I use in my controller to get this caching. Whenever I pass again the same url it should use the cache code instead of…
user2594
  • 386
  • 1
  • 5
  • 18
2
votes
1 answer

Add prefix to cached ZF2 translation files

I am using ZF2 I18n translator and memcached. Setup is: use Zend\I18n\Translator\Translator; use Zend\Cache\Storage\Adapter\MemcachedResourceManager as MemcachedResourceManager; //=== setup the cache ===// //create a memcached resource…
brian_d
  • 11,190
  • 5
  • 47
  • 72
2
votes
2 answers

How do I use Zend Cache on this particular problem

I have an action that renders two different view scripts based on whether the user is logged in or not. class IndexController extends Zend_Controller_Action { .... public function indexAction() { $auth =…
davykiash
  • 1,796
  • 5
  • 27
  • 60
2
votes
1 answer

What is the correct approach to the single sql query cache in ZF2?

I look through the documentation for Zend\Db, and I can not find any answers on how to cache individual queries (Rowset objects). I know that Zend\Db in ZF2 is much more simplified compared to the ZF1... But still i do not want in my project use…
Tomek Kobyliński
  • 1,290
  • 14
  • 25
2
votes
4 answers

How to use Zend_Cache Identifier?

I think I'm getting crazy, I'm trying to implement Zend_Cache to cache my database query. I know how it works and how to configure. But I can't find a good way to set the Identifier for the cache entries. I have a method which searches for records…
opHASnoNAME
  • 20,224
  • 26
  • 98
  • 143
2
votes
1 answer

zend framework when using both mencache and cache page

I'm using zend frameword version 1.11 My site using memcache to save session but want using more zend cache page to cache page html Result: cache page html is not save right cache dir config, it save public path and data in file is null (0 KB) To be…
thenguyenit
  • 691
  • 1
  • 6
  • 8
2
votes
0 answers

how to deal with zend meta data cache

I am working on a project developed in zend framework. The developer who worked already has used zend metadata cache and using zend function info() to get metadata of the table. Now I have inserted a new field status in the table. Now the table is…
Awais Qarni
  • 17,492
  • 24
  • 75
  • 137
2
votes
1 answer

Unit Test Zendframework: Failed saving metadata to metadataCache

I am trying to setup a controller unit test but I get the following error: InscricaoControllerTest::testInscricaoPage() Zend_Controller_Exception: Failed saving metadata to metadataCache#0 [internal function]:…
dextervip
  • 4,999
  • 16
  • 65
  • 93
2
votes
2 answers

More than one Zend_Cache configuration?

Is it possible to have two different cache instances for Zend_Cache? For instance, if I wanted to have a set of files that are stored forever unless I delete them and another set that gets invalidated every minute -- could I do that? Everywhere I…
JoeSlav
  • 4,479
  • 4
  • 31
  • 50