2011-07-27, 04:05
mr.b: I am generally against shifting any load from a client to an intermediate server. I don't like the server dependance. I would just rather do it all in the python is possible.
I am working on a module that will cache plug-in queries itself rather then the web request. I am still coding it right now. I am doing an md5 of the parameters that the plug-in is started with. It uses this to look up to see if the request has been made before and if the cache for it has expired.
If the cache is expired then I want load the expired items and then update the cache in the background. I am trying to handle changes to the sites by executing a directory refresh when the new cache is saved so then the new information will be refreshed once processed.
I might fall back to just requesting and store the data before loading the directory but the user will have a bit of a wait while the directory loads.
That is what I am trying to work out right now. It will hopefully speed up things quite a bit for some things.
I am working on a module that will cache plug-in queries itself rather then the web request. I am still coding it right now. I am doing an md5 of the parameters that the plug-in is started with. It uses this to look up to see if the request has been made before and if the cache for it has expired.
If the cache is expired then I want load the expired items and then update the cache in the background. I am trying to handle changes to the sites by executing a directory refresh when the new cache is saved so then the new information will be refreshed once processed.
I might fall back to just requesting and store the data before loading the directory but the user will have a bit of a wait while the directory loads.
That is what I am trying to work out right now. It will hopefully speed up things quite a bit for some things.