Following up recent discussions in the IRC channel, I'd like to try to implement support for ETags as well. After much thought, I came up with two different strategies to generate ETags for different content and would like to hear your opinions on this:
(a) HTML Content I hope to have everything covered by this approach: I'd like to take the current Post object, the current Theme object, the list of currently active plugins, put all these into one array, run serialize() over it and hash the output. Thereafter I'd append the current habari version number. (b) Feeds Feeds are a bit simpler as they are not influenced by themes... So all I'd do is generate a hash over the serialized posts and the list of currently active plugins and append the current habari version number. I think Ripe-MD160 were good as a hash. Comments? Sanity is for the weak, Da:Sourcerer -- 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/habari-dev
