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
1
vote
3 answers

Zend cache doesn't kick in

Ok, here's the problem: $frontendOptions = array( 'lifetime' => 7200, 'debug_header' => true, // for debugging, but it doesn't work... 'regexps' => array( // Cache the static pages '^/pages/' => array('cache' => true), …
John
  • 261
  • 1
  • 3
  • 16
1
vote
1 answer

How to add APC adapter to cache classmaps in Zend framework 2

I need to cache classmaps of each of my modules in my Zend framework 2 application using APC in opcode cache . Is there a work around for this . AFAIK in the application.config.php 'module_map_cache_enabled' => true, // The key used to…
Aravind.HU
  • 9,194
  • 5
  • 38
  • 50
1
vote
1 answer

Zend Framework Caching in memory

is there any way to cache results from Zend DB in memory using Zend Framework (version 1.8) ? Or should I use server side solutions to implement "cache in memory per process"? So can you share best practices completing such issues?
Bounce
  • 2,066
  • 6
  • 34
  • 65
1
vote
2 answers

Zend Cache with pagination is not working

I'm new with Zend Framework. I'm using Zend cache, I pretty much copied code from the documentation, here is my code: $frontendOptions = array( 'lifetime' => 3600, // cache lifetime of 1 hour …
raygo
  • 1,348
  • 5
  • 18
  • 40
1
vote
0 answers

How fix error "Failed saving metadata to metadataCache" with Memcached backend?

I have application on Zend Framework 1.6 and I use Memcached as backend cache. When I restart Memcached I get error message "Failed saving metadata to metadataCache". Please advice how can I solve this problem. In my memcached.conf i wrote setting…
Dmitro
  • 1,489
  • 4
  • 22
  • 40
1
vote
2 answers

Magento & Memcached - HTTPS Errors

I've tried installing both fast cache using memcached and full page caching in magento enterprise. The first by editing the local.xml file, and the latter by editing the enterprise.xml file. Each time I change one of them and commit it to the site,…
TinBane
  • 866
  • 11
  • 19
0
votes
1 answer

Caching whole html output with zend

I am trying to cache everything that is output by layout script and controller's action script using Zend_Cache but it is not working correctly. All I get is DEBUG HEADER : This is a cached page ! I got layout.phtml script and index.phtml script.…
debianek
  • 589
  • 1
  • 9
  • 30
0
votes
1 answer

What is the preferred cache directory using Zend_Cache?

On my dev system (Ubuntu 11.10) I have no problems writing my cache files to /tmp but I'm concerned about what will happen to my application when deployed. I currently have shared hosting so I'm guessing I won't have access to that directory? My app…
Jeremy Harris
  • 24,318
  • 13
  • 79
  • 133
0
votes
1 answer

Enable Cache plugin for ZFDebug

I'm developing a web-site with Zend Framework and I wish to use ZFDebug. I followed the installation instructions, described here, but I don't initialize Zend_Cache in the bootstrap (define cache manager settings in section of configuration…
Igor
  • 93
  • 1
  • 5
0
votes
1 answer

Does caching(APC) of an instance of Zend_Acl affect security?

It wouldnt make it easier to do something nasty, would it?
krzysiek
  • 465
  • 5
  • 16
0
votes
1 answer

using md5() to generate cache keys in Zend_Cache

I have some issues saving identifiers for cache objects in Zend_Cache. The Zend_Cache identifiers have to be really sanitized (no special chars, no spaces, etc). Some of my internal identifiers have spaces in it, so it's a problem for me to save…
aporat
  • 5,922
  • 5
  • 32
  • 54
0
votes
1 answer

Zend_Cache understanding issue

I try to use Zend_Cache (first try) to save information about user grants. The idea and most of the source code comes from Oleg Krivtsovs tutorial. I get an error, if I try to retrieve my cache. Call to a member function getItem() on array Here…
pia-sophie
  • 505
  • 4
  • 21
0
votes
1 answer

Replacement for Zend_Cache::factory in Zend Framework 3

I am looking for a solution to replace the Zend 1/2 cache in a Zend 3 application. The old application is using $cache = Zend_Cache::factory('Core', 'File, $frontendOptions, $backendOptions) to get the cache instance. How could I get the same…
0
votes
1 answer

Zend_Cache cache file disappears

I have a zend cache which stores an array from the db. The cache can be read & updated fine. But the actual cache file seems to disappear after a day or so. I thought that adding automatic_cleaning_factor = 0 would solve this, but that doesn't seem…
Adam
  • 1,098
  • 1
  • 8
  • 17
0
votes
1 answer

ZF3 zend-cache error Unable to resolve service "FilesystemCache" to a factory

I'm trying to use zend-cache with zend-rbac. zend-rbac is ok, but when I try to add zend-cache I got this message: Unable to resolve service "FilesystemCache" to a factory; are you certain you provided it during configuration? My cache…