Cache and images [SOLVED]

Author Message

Julien Plesniak

Tuesday 16 September 2008 1:07:18 am

Hello,

I use in my website pictures with different size.
This is my file image.ini.append.php:

[ImageMagick]
IsEnabled=false

[AliasSettings]
AliasList[]
AliasList[]=reference
AliasList[]=small
AliasList[]=medium
AliasList[]=large

[reference]
Filters[]=
Filters[]=geometry/scaledownonly=600;600

[small]
Reference=reference
Filters[]=
Filters[]=geometry/scale=100;100

[medium]
Reference=reference
Filters[]=
Filters[]=geometry/scale=200;200

[large]
Reference=reference
Filters[]=
Filters[]=geometry/scale=300;300

[MIMETypeSettings]
Quality[]
Quality[]=image/jpeg;100

It work perfectly, my images was generated by ezpublish correctly.

But, the website generate the pictures each time i go to the page of the picture, so its very slow.

I activate the cache in my site.ini.append.php like this, but it doesnt change:

[ContentSettings]  
ViewCaching=enabled  
PreViewCache=enabled    

[TemplateSettings]  
NodeTreeCaching=enabled
TemplateCache=enabled
TemplateCompile=enabled
TemplateCompression=enabled
TemplateOptimization=enabled

how to activate the cache for pictures?

thanks for help

Damien Pobel

Tuesday 16 September 2008 1:53:47 am

Hi Julien,

If you use eZ Publish 4.0.0, it's probably due to the bug #12386 [1]. You should upgrade to eZ Publish 4.0.1.

[1] http://issues.ez.no/12386

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Julien Plesniak

Tuesday 16 September 2008 2:38:09 am

Perfect !
thanks for help

Konrad Potocki

Monday 06 October 2008 6:07:34 am

Hello,

The patch from the ticket seems trivial to apply. Could you confirm that doing this will solve the issue.

I would very much like to avoid updating the whole eZ publish just for this bug. "Don't fix if ain't broken" :+)

Thanks!

KeyPi

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.