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

In-Memory script cache backend in zend framework

I'm looking for solution for a in memory script cache, using Zend_Cache and zend framework. We have a few cases in our application, that in order to display a table with, let's say, 100 elements, the logic is as the following: fetch 100 items from…
aporat
  • 5,922
  • 5
  • 32
  • 54
1
vote
2 answers

Zend Config Performance Optimization

I am optimizing a Zend Framework based application, and I am sure using ini based config slows down overall performance as the sites need to read and parse ini on each and every page request. Now I have 2 ideas to deal with the situation Cache…
Bryan
  • 645
  • 1
  • 6
  • 18
1
vote
2 answers

Where to put cache clearing code

I'm putting together a ZF based CMS at the moment, and am currently caching my Zend_Navigation object, as well as the html rendered by renderMenu(). So at the moment, whenever the menu changes, I have to call the following lines in the relevant…
ChrisA
  • 2,091
  • 1
  • 14
  • 23
1
vote
2 answers

How do I add Cache Control expires header to images?

I'm trying to speed up things on my site. YSlow alerts me that my images lack expires headers. But how do i apply such headers on images? My application is based upon the zend framework. The images are stored as well images on a folder, how would I…
Ali
  • 7,353
  • 20
  • 103
  • 161
1
vote
4 answers

How to use Zend_cache with memcached in a distributed way?

The title of this question might be confusing but the problem is simple. I'm using Zend_Cache with memcached as a backend. I have two module called "Last articles" and "Popular articles". Both of this module are on every pages and use a similar…
zzarbi
  • 1,832
  • 3
  • 15
  • 29
1
vote
1 answer

Clear Zend Page cache programmatically

I am using Zend's full page caching for certain URL's. Is there a way to clear the page cache for a certain URL programmatically....(when the content of the URL is modified)
rahul
  • 1,423
  • 3
  • 18
  • 28
1
vote
2 answers

Zend Guard Loader not getting enabled

I am trying to optimize my Zend Application using a Zend Guard Loader in my Xampp Contol Panel. To install and configure this, I have done the following configuration settings. I have downloaded Zend Guard Loader from Zend Guard Loader for PHP 5.6…
user2594
  • 386
  • 1
  • 5
  • 18
1
vote
1 answer

Using and Configuring Zend Session and Zend Cache Memcached - Zend Framework 2.3

Actually, I'm using "standard" sessions manager config: http://framework.zend.com/manual/current/en/modules/zend.session.manager.html I want to use cache and save my session's data into server's cache (memcached) for improves performances and…
1
vote
1 answer

caching zend framework 2 php code execution result

Im building a music social web. For a particular view (where the user sees a world map, which shows de procedence of the plays his songs had) i have a long and heavy php code, which retrieves a lot of info from the database and counts rows,etc. How…
emilianop11
  • 313
  • 4
  • 15
1
vote
2 answers

Zend Cache Exist Function

I am using Zend Cache in my current project and its working fine . But I want it to work more fast so I want to check if cache exists before I use load function of zend cache. Following is my code : $cache =…
Ravi Shah
  • 35
  • 6
1
vote
2 answers

Zend_Cache_Core showing when I am trying to create cache file in view file

I am trying to cache a view file content and I am using the following method inside a view file, $frontendOptions = array( 'lifetime' => 3600, 'automatic_serialization' => false ); $backendOptions = array( 'cache_dir' =>…
K. V. Suresh
  • 897
  • 7
  • 8
1
vote
1 answer

Zend Cache doesn't read from its cache

I wrote function to cache every page in my website and I put this function in Bootstrap file. Cache files are created on every request, even for the same page. Did I miss something? It is also not working even if I remove regexps array from…
sanneo
  • 365
  • 4
  • 15
1
vote
1 answer

How to integrate Zend Cache StorageFactory in Symfony 2 DI Container?

How could I integrate Zend Cache Factory into Symfony 2 so that I could change my cache adapter easily in my config.yml? This is the traditional way to get an adapter using the factory. use Zend\Cache\StorageFactory; $cache =…
dextervip
  • 4,999
  • 16
  • 65
  • 93
1
vote
0 answers

PHP try catch not working with Zend cache Exception

I have this code to start Zend Cache , and I set the try cache exception to cancel Zend Cache if an error accorded during the process, but it does not work and does not print the error inside catch Exception. $frontendOptions = array( …
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40
1
vote
1 answer

Zend Cache Front end

I'm using this function in Bootstrap.php to cache my controllers , and i need to cache some controllers only I don't need to cache index controller and article controller as an example and i need to cache question controller but it does not working…
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40