Welcome Guest, Not a member yet? Register   Sign In
Caching without views?
#9

[eluser]Michael Wales[/eluser]
Yeah - I would write up a real quick PHP script that will query the database and output legitimate view files. Then just convert your code over to use those.

Or, another route, not sure how effective it would be: write a cron script that does the same, and run it every X minutes, this way your users are still editing the templates within the database, but the controllers are caching what should be a relatively accurate copy of the database (if it's within the cron timespan).


Messages In This Thread
Caching without views? - by El Forum - 09-24-2007, 12:43 AM
Caching without views? - by El Forum - 09-24-2007, 06:38 AM
Caching without views? - by El Forum - 09-25-2007, 04:26 AM
Caching without views? - by El Forum - 09-25-2007, 07:24 AM
Caching without views? - by El Forum - 09-25-2007, 07:57 AM
Caching without views? - by El Forum - 09-25-2007, 10:26 AM
Caching without views? - by El Forum - 09-25-2007, 10:28 AM
Caching without views? - by El Forum - 09-25-2007, 01:32 PM
Caching without views? - by El Forum - 09-25-2007, 01:55 PM
Caching without views? - by El Forum - 09-25-2007, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB