Jappix/jappix — Issue #2: better cache
Author: julienbarrier
Created: 2012-01-18 17:31:16+00:00
State: open

make jappix loading faster. use a cache for messages in the channel.

create a cache, not to reload the page each time a user wants to see a post.
for example, we would have a page, for each user. each time he’s connected on a jappix node, a page (txt for example) is modified, and the messages with comments he can see are posted into.

the page would be, for example on jappix.com: jappix.com/cache/user/julien%jappix-com.txt, but nobody can see the page, only the server. It would make jappix faster, as movim does (but they do it with a database)
the file would be:

#user@domain.tld
%message 1 / date
// user 3 / date
== comment
// user 4 / date
==comment

% message 2 / date
// user 5 / date
==comment

#user2@domain.tld
%message1 / date

etc.