Interesting what is the difficulty with caching? Presumably the algorithm would be something along the lines of user requests feed. Fetch feed.xml, see if copy is older than TTL if not return previously generated ebook, if yes re-generate. You should probably not use wget for fetching, as that must impose a lot of extra process overhead on the server.
|