Tue 28 Nov 2006
I’ve been having a problem where the cached DealCrew pages weren’t getting rebuilt and re-cached. After some digging through the CakePHP code I found a bug when setting the cacheAction to a text string, such as “1 minute” or “2 hours”. There was already a bug report on this, but it had been closed without being fixed. I re-opened it and suggested a simple fix. In the meantime you can work around this by converting your cache times to seconds. Google Calculator is great for this if you have some sort of weird cache time and don’t feel like doing the math.
Although not a bug, something to be careful of, is that the cachetime is stored in the cached file as a timestamp. This means if you change the cache time in your controller the cached file won’t be rebuilt until the original cachetime, based on the previous value. So you may need to delete the cache file to get it to rebuild.
Popularity: 3% [?]










Follow!
Email!
November 30th, 2006 at 9:30 am
The bug mention above has been fixed. Go Cake!