Post by planetgroove » Sun Oct 26, 2008 1:07 am

Hi,

after deleting the sample images in the admin-section of OpenCart, they still are present in the /image-folder though they are gone from the admin-sections display.
What about the image cache-directory? Is it cleared automatically from time to time? If not: there are obviously some of the above mentioned (processed) files also remaining.

Regards,

André

http://www.planetgroove.com


New member

Posts

Joined
Sun Oct 26, 2008 12:18 am


Post by hm2k » Mon Oct 27, 2008 11:49 pm

I had a think about this, and I came to the conclusion that either the cache should be removed when the source object is removed, or the cache should expire, or both.

I'm not 100% sure exactly how this would work, so it's something I will come back to later.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Qphoria » Tue Oct 28, 2008 1:33 am

Daniel said the cache is only updated when the main image is newer than the cache, but when deleted from the main image, the cache will stay indefinitely. So yea a delete that trickles down might be best.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest