![]() |
|
Cache Not Being Used - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Cache Not Being Used (/thread-2829.html) |
Cache Not Being Used - vraa - 2008-05-08 Hello and good evening Zenphoto is amazing. It's slick, it's efficient, and it's incredibly simple to install. So simple, that I've already started using nightly builds I do have one problem however 1 album has 15 images and they are loaded pretty quickly The other album has 185 images Although, cache/ is chmodded 777 and has many files in it! I have disabled mod_rewrite, is that causing the problem? I couldn't use mod_rewrite, I think because my albums have spaces in the directory names. I am hosting on my own personal server in my closet, so CPU power / Memory usage is not a big deal, however it is frustrating to wait a few minutes for the thumbnails to load when, I think, they should load instantly after they have been cached. Cache Not Being Used - vraa - 2008-05-08 I have been able to speed things up a tremendous amount by exporting my photos from iPhoto in reduced size Cache Not Being Used - vraa - 2008-05-08 It seems like I've discovered something For my album with 15 images, I'm pretty sure the images are cached and retrieved from the cache. I have set my images per page to 20 The album with 15 images loads almost next to instantly So I am quite certain only 1 album's thumbnails are being retrieved from the cache, is there a way I can troubleshoot / resolve this further? Cache Not Being Used - acrylian - 2008-05-08 So let us explain how the cache works: The images you upload are indeed processed on the fly while viewing the page and the bigger the uploaded pictures are the longer that takes. Take a look here, too: http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/#11 But you also can cache the images for the whole gallery or a specific album in the admin backend manually to avoid that. Cache Not Being Used - vraa - 2008-05-08 Is there a way to verify that Cache Not Being Used - vraa - 2008-05-08 My friends, I am extremely happy! Cache Not Being Used - vraa - 2008-05-10 Okay I just uploaded an archive.zip of 40mb, and let Zenphoto take care of the rest I checked the /cache/ folders, I can see that the appropriate cache files are being made I just don't know what to do. Edit: BTW, I also disabled eaccelerator and have restarted apache a bunch of times now Cache Not Being Used - vraa - 2008-05-10 I got it to work, but I had to copy the files to the server, and then move the files, then chown then chmod the folder Cache Not Being Used - acrylian - 2008-05-10 It might have been related to this: http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/#11 Cache Not Being Used - vraa - 2008-05-11 Well my server isn't crashing? Cache Not Being Used - acrylian - 2008-05-11 I was refering to this [i]But when I browse to the album, it's not loading from cache Cache Not Being Used - sbillard - 2008-05-11 Can you post a link to your site? What are the URLs that show up on the pages? BTW, just because you see multiple threads does not mean that the images are not coming from the cache. Your browser will request each image as a separate request, so there will be multiple threads serving these requests. |