Pixelizm / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
3 stars 1 forks source link

[Request] Generate cache for all files/folders #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First off I love this little website project of yours! Working great on my 
Thecus N4200Eco NAS!

I would like to request a way though to have my NAS generate all the cache 
files. Why you ask? The NAS is not the fastest out there and takes time to 
generate all the thumbs. I have several large folders which take a couple of 
minutes on first load.

As a suggestion I'd maybe would do it like this;
Create a page which is password protected (basic auth?) and load all the 
files/folders as thumbs, so it triggers phppi to generate those thumbnails when 
not present in cache.
As a php webdev I might even create this myself. Need to delve into the code to 
do it properly.

Original issue reported on code.google.com by jos.nien...@gmail.com on 5 Oct 2012 at 9:27

GoogleCodeExporter commented 8 years ago
Thanks =), I'm actually currently working on an admin page which hopefully will 
initially include a way to at least clear the cache but also generate the cache 
of all folders/individual folders.

For the time being, depending on how often you update your images you may want 
to increase the expiry of the cache and that should improve your browsing speed 
(until it expires of course).

Original comment by gorounreal on 5 Oct 2012 at 10:25