Memcaching rendered output of scheduler

Happy New Year to all.

Is it possible to obtain the final HTML after load(some_xml_file.xml)? I want to cache the HTML using memcachd because it’s taking a real long time to load all my events in the scheduler.

On a similar topic, how would I speed up the loading of my events? I am loading around 30-40 events per month and I have my default loading parameter set to month load.

-Mark

Is it possible to obtain the final HTML
Nope, scheduler is dynamical structure , it is not possible to restore it from static HTML
Why not cache the xml with event’s data?

I am loading around 30-40 events per month
30-40 events is quite small amount, it must not slow-down client side.
If you loading data from some server side script - check , maybe it is slow DB connection, or event preprocessing.

  1. Yes, I’ll try caching the XML data.

  2. Time taken to form my XML data of 30-40 events is around 500 milliseconds on my localhost (dev machine). Time taken to form that same data on the production machine running on apache is 5 seconds!!!

  3. Is 500 milliseconds a bit long?

-Mark

Is 500 milliseconds a bit long?
It depends on complexity of data pre-processing.
Simple data selection from DB and forming of XML stream, in case of connectors-for-php, takes about 10-20ms for 50 events.

Ok. I’m using a Python backend forming the XML manually without using any modules.

Thanks for your help time and time again. Really appreciate it.

-Mark