Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

How can I disable the estimation process on generate cache
http://www.tinywebgallery.com/forum/web-photo-gallery-general-f4/how-can-i-disable-the-estimation-process-on-generate-cache-t3395.html
Page 1 of 1

Author:  godmel [ 27. Aug 2012, 04:46 ]
Post subject:  How can I disable the estimation process on generate cache

Hi Michael, I’ve been used TWG for a long time and I like it. (I currently on using TWG 1.8.9)

Now I have a question for about when I login to TWG admin console every time I click on the TWG configuration session to look around my current settings, it always to help me to look in to my pictures folder and see whether have new photos need to create cache image.

It is a good approach that to let user to know the total no. of images can be cached, but on the other hands it will reserve a lot of CPU time during the process. If you have 500 pcs of photos, it shouldn’t be a problem but if you have ten thousand of photos or even more in pictures folder, the situation is different and user must have to wait for long (maybe spends 5mins or more) to get response and control on admin console.

My point is can we have an option to disable the photo cache estimation process? Alternatively, can user to choose it by two button. The first button is to estimate how many new photos can be cached, the second button is generate cache. This is a prefect thing to handle it.

Hope you can address on it.

Thank you for your attention and consideration.

Regards,
Vincent

Author:  TinyWebGallery [ 27. Aug 2012, 17:30 ]
Post subject:  Re: How can I disable the estimation process on generate cac

The cache check is done in an extra iframe. So it should not be a problem during acessing the administration.
Does it really take so long on your system?

Best, Michael

Author:  godmel [ 28. Aug 2012, 03:34 ]
Post subject:  Re: How can I disable the estimation process on generate cac

Absolutely Yes. I have fourthly thousands of photos inside the \pictures folder and every time I must to wait for few mins later to get response to do other things when I choose anyone of configuration session item. If I select item on TWGexplorer session is okay.

That means every time when you get into the configuration session, the iframe (you mentioned) session will keep running to wait for generate cache session complete then to release control. I’ve observed a period of time then to decide to ask this kind of question. By CPU, it reserve 50% in average during the process, the problem is it hold up a control rather than consume much more CPU power.

Author:  TinyWebGallery [ 28. Aug 2012, 10:19 ]
Post subject:  Re: How can I disable the estimation process on generate cac

o.k. - I'll take a look ;).

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/