Development

#570 ([PATCH] Component cache works only in component's orginal modules)

You must first sign up to be able to contribute.

Ticket #570 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Component cache works only in component's orginal modules

Reported by: yoyo@omkara.pl Assigned to:
Priority: major Milestone: 1.0.0
Component: Version: 0.7.X
Keywords: cache component partial Cc:
Qualification:

Description

I have two modules: homepage and offer.

On homepage I'm including component that resides in offer folder.

include_component('offer', 'recentProducts');

I have enabled caching for this component in offer/config/cache.yml:

_recentProducts:
  activate: on

And nothing is cached. Also cache directory for this component was not created.

BUT... when I move this component to homepage module, and activate it in homepage/config/cache.yml then cache is working as expected.

So it seems that other module's components cannot be cached, only when component is called from same module it belongs to.

I have not checked but it seems that it is also "partial cache" issue.

Change History

05/23/06 17:58:52 changed by halfer

This appears to be the case for component slots employed in the application layout, too. See discussion here: http://www.symfony-project.com/forum/index.php/t/1728/

08/29/06 13:14:40 changed by francois

  • summary changed from Component cache works only in component's orginal modules to [PATCH] Component cache works only in component's orginal modules.

08/29/06 14:19:16 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [1850]) fixed component cache works only in component's orginal modules (closes #570, #704)

08/29/06 15:50:07 changed by fabien

  • milestone set to 1.0.0.