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
0
votes
1 answer

init Zend_Cache in Bootstrap (UTF-8)

I'm tryng to Cashe controllers from Bootstrap I have controller called questionController and I'm using Arabic language when I cached the questionController (like code below) its work properly . but when I added routing to this controller like…
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40
0
votes
0 answers

zend_cache:I have 506790 cache files,is the cause of high IO on read reason?

Recently I needed to speed up a legacy project(use zend framework 1.10.2),that project use zend_cache,I am new in zend framework. the default.ini configure: data.cache.interim.frontend.name = "Core" data.cache.interim.frontend.options.lifetime =…
hui314
  • 128
  • 1
  • 8
0
votes
1 answer

Caching page with user interaction in zend framework?

I need to cache a page (a user page ) and this page contain a follow button for logged in members and comments block. How to cache this page ? Suggestion 1 : the page is cached until an action happens in the page then delete the current cache ? …
KJA
  • 743
  • 3
  • 9
  • 21
0
votes
1 answer

Zend Framework Cache creates new file and doesnt load it

i'm having a little problem with Zend Framework Full Page Cache. My current Bootstrap configuration looks like this: $dir = PUBLIC_PATH . "/tmp/"; $frontendOptions = array( 'lifetime' => 6000000000, …
phil
  • 137
  • 12
0
votes
0 answers

How to clean zend_cache from multiple server?

My site is located on two servers (i.e. web01.mydomain.com and web02.mydomain.com) under load balancing. I am using zend_cache for caching purpose, the cache is also located on both servers. The issue is that when I try to clean my cache using below…
0
votes
1 answer

Zend Cache Core and APC - I don't understand how old cache entries get invalidated

For Zend_Cache_Frontend_Core you can define a lifetime and, according to the documentation, a "automatic_cleaning_factor". According to the manual, this property specifies on how many writes to the cache old cache entries get invalid. When I use APC…
Sebastian Hoitz
  • 9,343
  • 13
  • 61
  • 77
0
votes
2 answers

Zend framework caching encoding

I'm developing a Zend application. It caches menu items to reduce database transactions. I'm looking for a way to set encoding of cached files to UTF8. In application.ini I have: resources.view.encoding = "UTF-8" Though seems not working. Update: I…
sorush-r
  • 10,490
  • 17
  • 89
  • 173
0
votes
1 answer

Zend Framework 2 - fastest Cache Adapter?

My Site will rely heavily on caching so which Chache Adapter should i go for? Filesystem will surely be the slowest, but which of these are the fastest? I have control over my php extensions so i could probably get all of them to work except the…
0
votes
1 answer

Zend_Cache with memcached and multiple instances

I'm trying to get Zend_Cache to work with two different instances of memcached. Both instances are active and listening, I tested this, yet Zend_Cache keeps on cramming everything in the default port of memcached, totally disregarding the second…
Peter
  • 1,211
  • 4
  • 17
  • 32
0
votes
1 answer

Zend Framework Cache

I'm trying to make an ajax autocomplete search box that of course uses SQL, min 3 characters, and have a SQL view of relevant fields already set up and indexed in the db. The CPU still spikes when searching, which I expected as it's running a query…
MaKR
  • 1,882
  • 2
  • 17
  • 29
0
votes
1 answer

How to launch caching of many pages on Zend?

I have an "article" controller and a "view" action. My action takes an id parameter, allowing the visitor to view the article with a specific id (get the info from a mysql database). I want to create a script that generates all my caches instantly.…
0
votes
2 answers

Zend_Translate & Zend_Cache standalone

I'm trying to add Zend_Translate in a PHP project, using Zend components as standalone libraries. I'm already using cache for several items using the following method: $cache = Zend_Cache::factory( ... if (!($obj = $cache->load('OBJ'))) { $obj =…
JoeSlav
  • 4,479
  • 4
  • 31
  • 50
-1
votes
1 answer

unable to read cache object from Zend registry

In bootstrap I am registering cache obj $cache = Zend_Cache::factory('Core','File',$frontendOptions,$backendOptions); Zend_Registry::set('cache',$cache); When I try to retrieve in model class ,It return the object but I am not able to get the list…
user269867
  • 3,266
  • 9
  • 45
  • 65
1 2 3 4 5 6
7