[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] ups_cache expires


Quoting Steve Graham (suppressed):
> Hello,
> 
> Bill Carr had  a good idea here:
> http://www.icdevgroup.org/pipermail/interchange-users/2003-June/033985.html
> 
> >>>
> Line 76
> if($now - $updated > $Variable->{UPS_CACHE_EXPIRE} || 86000) {
> <<<
> 
> Might as well let the user select the time frame to keep the cache, 
> or let UPS_CACHE_EXPIRE be a multiple of 86000 to approximate the 
> number of days.
> 
> Any reason 30 (86000*30) days wouldn't work - maybe even 90 days.
> 
> UPS doesn't change rates that often, and we aren't concerned about 
> the data accumulation.

They do sometimes change fuel surcharges and areas covered by Xarea.
Also, you would need to closely watch things in early February when
rates do change.

I think a day is reasonable, actually. It should cut load dramatically
without problems with wrong rates.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <suppressed>

I am convinced that life is 10% what happens to me and 90%
how I react to it. And so it is for you... we are in charge
of our attitudes. -- Charles Swindoll
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.