Information needed by the first page of my application is very complex to compute, so the user has to wait seconds. I want to do better.
Let's say I can pre-compute a reasonable version of each user's data beforehand/every night, and I could stick this info in files somewhere (one file/user).
Now when the user hits the app, the server checks to see if a suitable precomputed version is available. If so, the server wants to return the data
to the requestor.
Obviously my app could go read that file and then use that info to generate the response.
How could I do better than this?
My preliminary investigation uncovered the "sendfile" facility that some web servers provide.
This seems like it might be what I should do.
Before I head down that road, are there simpler alternatives?
Can I make jetty do this for me somehow? (without nginx….)
You received this message because you are subscribed to the Google Groups "Compojure" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/compojure?hl=en.