[ansel] Bad performance and a lot of GET requests

Michael J Rubinsky mrubinsk at horde.org
Wed Apr 11 17:27:20 UTC 2012


Quoting Samuel Wolf <samuelwolf85 at googlemail.com>:

> 2012/4/11 Michael J Rubinsky <mrubinsk at horde.org>:
>>
>> Quoting Samuel Wolf <samuelwolf85 at googlemail.com>:
>>
>>> 2012/4/11 Michael J Rubinsky <mrubinsk at horde.org>:
>>>>
>>>>
>>>> Quoting Samuel Wolf <samuelwolf85 at googlemail.com>:
>>>>
>>>>> I upload ~ 13000 pictures in a lot of sub galleries.
>>>>>
>>>>> One gallery has 115 pictures, I can see 30 per page.
>>>>> All preview pictures (30) of the first site visible but my apache
>>>>> access log show a lot more GET requests.
>>>>>
>>>>> 10.23.1.88 - - [11/Apr/2012:17:42:40 +0200] "GET
>>>>> /horde4/ansel/img/mini.php?ajaxui=1&image=5558&t=Thumb&b=none
>>>>> HTTP/1.1" 200 7098
>>>>>
>>>>>
>>>>> "https://example.com/horde4/ansel/view.php?ajaxui=1&gallery=1&view=Gallery&havesearch=0&slug"
>>>>> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like
>>>>> Gecko) Ubuntu/10.04 Chromium/17.0.963.79 Chrome/17.0.963.79
>>>>> Safari/535.11"
>>>>
>>>>
>>>>
>>>> This request is generating a "mini" preview icon - the really tiny
>>>> (50x50?)
>>>> previews. From a gallery page, this could be coming from a number of
>>>> places;
>>>> Off the top of my head - The geotag widget, the gallery tree widget, or
>>>> the
>>>> similar images widget.
>>>
>>>
>>> You're right, it is the gallery tree widget.
>>> Is there a way to disable this complete?
>>
>>
>> Edit ansel/config/styles.php
>
> Is there an other way than comment out "'widgets' => $widgets," ?
> I create a styles.local.php but the code must be wrong:

Yes, don't create the $widgets['Actions'][xxxx] entry in the first place.

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6096 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/ansel/attachments/20120411/17d70dcd/attachment-0001.bin>


More information about the ansel mailing list