Basically I have a site that I need to carry an affiliate code through, but would like to cache the final template result, minus that one variable. This way all the major part of the content is cached, but the affiliate code can be inserted into the template as normal and not cached. Caching the entire site for each affiliate code is not really an option as we have 3k+ affiliates.
Someone in IRC said write a wrapper, but having a hard time wrapping my head around this, since the data I need to cache is all in the controller and there could be multiple queries etc. If I wrap the render method somehow, then the queries are still going to run before the cache render function would run. Any help would be greatly appreciated. Samples also more than welcome :) -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
