Funny, I contributed the cache code but failed to include a way to disable it. Some might ask, "why would you ever want to disable the cache?" In my case I need the ability to retrieve an exchange rate for a previous day. I therefore collect all the possible combinations for 18 exchange rates on a daily basis and store them as a serialized array in the database. The default caching only creates additional overhead.
As a result I created a simple patch, which adds the ability to set the cache interval to 'none'. This might not be much use to anyone else, but here it is nonetheless.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cache_period.patch | 958 bytes | johnhanley |
| cache_period.patch | 835 bytes | johnhanley |
Comments
Comment #1
kbahey commentedPlease make it a properly formatted patch.
Comment #2
johnhanley commentedTake 2.
Comment #3
kbahey commentedCommitted to 5.x-1.x-dev.
Please wait for 12 hours then download and test that tarball to see if all is well.
Once confirmed by a couple of people, I will create a stable release.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.