Database Caching - turning on/off with if/else isn't working |
[eluser]tinawina[/eluser]
Database cache is working -- I'm getting a ton of cache files. But what I want to get is database cache files only for pages viewed from a certain controller. For example, here are three URLs: Code: http://mysite.org/publications The way that our site is set up, all queries funnel through one library that generates the query we need according to the controller and subsequent segments in the URL. That's why I'm able to discern in my code which query needs to run. According to the user guide you can turn database caching on or off as needed on a query by query basis. That's why I set up the if/else to work as described in my original post. Theoretically it seems it should work, it just doesn't. Thanks for your help! |
Messages In This Thread |
Database Caching - turning on/off with if/else isn't working - by El Forum - 09-18-2012, 05:25 AM
Database Caching - turning on/off with if/else isn't working - by El Forum - 09-18-2012, 07:44 PM
Database Caching - turning on/off with if/else isn't working - by El Forum - 09-19-2012, 05:40 AM
|