Questions tagged with caching

2 answers

0 votes

Asked by abhishek198, on 4/11/10 in Controllers

Changes made in app_controller not getting reflected.

Hi,

Somehow the changes that am making in the app_controller are not getting reflected.

However things are working fine when run locally.

Is this because of caching ??? If yes, how do i resolve the issue ?

Abhishek

0 answers

0 votes

Asked by dole, on 12/11/10 in Views

How to speed up elements display?

Let's assume that I have a database with all the products from a store and a view will contain an element with all the letters from the alphabet. When the user will choose a letter, i wish to display all the products which start with that...

0 answers

0 votes

Asked by zaptree, on 13/1/11 in Helpers

[Resolved] Disabling view caching auto delete

Hi, i was wondering how can i disable the auto deletion of the cached views whenever a model used in the cached view is modified?

I have a blog site with a lot of posts that have caching enabled.Posts are added/updated multiple times a day which...

0 answers

0 votes

Asked by jimits, on 20/4/11 in Helpers

Disadvantage of caching

Can any one tell me the advantage and disadvantage of caching the controller?

Also how the caching works when a cached element is called first time and second time?

0 answers

0 votes

Asked by openback, on 5/5/11 in Views

How do I set variables for dynamic content in a cached view?

I have wrapped a section of code in my layout with <cake:nocache tags that relies on a variable that is set in AppController-beforeFilter(). I've set 'calbacks' to true and have verified that beforeFilter does get called and has proper values...

1 answer

0 votes

Asked by Bo_oz, on 12/5/11 in Views

How to use view-caching in combincation with Device Detection

Hi,

I'm developing a normal website that also has a mobile version. I use RequestHandler component to determine if a user visits with a Mobile Device (in a callback method in app_controller.php), if so, he get's served a different layout.

Problem...

2 answers

0 votes

Asked by ecom, 6 days, 16 hours ago in Helpers

caching

hello can anyone help me with this:

if i set both:

Configure::write('Cache.disable', true);

Configure::write('Cache.check', true);

and use $this-disableCache(); in the app_controller after beforeFilter()

can i still able to use Cache Helper in the...

<< previous next >>