We needed to implemnt mysql query cache in our querries in a few places, and the first implmentation of this ended up being the following:
http://pastebin.com/mb4f95ad it was just whipped together quickly, and im not endorsing the use of this code to everyone, just thought someone might be interested, or someone might have a better/simpler or less hackish feeling solution. but alas it provides what we wanted for now. comments welcome. implement by adding SQL_CACHE to your fields param of your model methods --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
