I’m hosting KoBo on my own server. I’ve succesfully built a rather large form (~2,4MB) and now I need to share the Enketo form URL with the people responsible of submitting data. The first time the Enketo URL is requested, it takes a while to display the form (about 30 mins). I’ve read that this is “normal” behavior since the HTML generation step seems to be compute intensive (CPU usage is stuck at 100% in a few cores during the 30 mins). Subsequent requests to Enketo are displayed much more quicker, since I suppose they are being served with the HTML cached in the Redis secondary instance. After a few hours, the Enketo URL suddenly stops working throwing a 404 Survey with this ID not found error. Indeed, the Enketo URL to the form changes in the KoBo dashboard and the cache is lost. My two questions are:
Should the Enketo URLs be permanent? If yes, do you know what might be causing the ID obsolescence I’m experiencing? If no, how do you handle providing a permanent URL to the form for people to submit data to it?