On our site I was finding the function location_load_location was getting called 21+ times with the same request because of various nodes being loaded. To help cut down the 30ms of queries this generated I put a static cache in the function. I have attached a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| add_cache.patch | 3.56 KB | Daemon_Byte |
Comments
Comment #1
podarokall feature requests should be rolled against latest 7.x-3.x-dev and after commit can be backported to 6.x branch