andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


New version!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> CafePress Box
View previous topic :: View next topic  
Author Message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Wed Oct 08, 2003 3:20 pm    Post subject: New version! Reply with quote

Hi there,

I've just uploaded a new version of this class. You can now cache images as well as the product listing (you can independantly turn on/off image caching if you would prefer to link directly to the images on the CafePress servers). The image cache length is the same as the product list cache length. I've also put in place the direct socket connection as detailed in the previous thread.

Please be aware that if you have a lot of products, or you are displaying products from multiple stores, then the class may take some time to download all the images when it needs to refresh its cache. So if you know your products never change that often, put in some large figure for the cache timeout.

Any problems or questions, just post 'em up!!

Oh, someone also suggested that I can put in some thumbnail resizing... That will come at a later date. Thought I'd get caching out the way first. Wink

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> CafePress Box All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group