Forums / Developer / Cache and images [SOLVED]
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 Exponential 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 Exponential 4.0.0, it's probably due to the bug #12386 [1]. You should upgrade to Exponential 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
Tuesday 16 September 2008 2:38:09 am
Perfect ! thanks for help
Konrad Potocki
Monday 06 October 2008 6:07:34 am
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 Exponential just for this bug. "Don't fix if ain't broken" :+)
Thanks!
KeyPi