That's more or less how flatpages work. Have a look at their middleware.

El s�b, 22-09-2007 a las 05:40 -0700, julian.bash escribi�:
> Hi!
> 
> Does anyone have an idea how to implement funky caching with django?
> For those who don't know what that is (it's similar to how movabletype
> does caching but doesn't prepache everything):
> 
> "you redirect 404 errors to a script, which looks at the requested
> URL, decides whether it should actually exist, and if it should it
> builds the file from the database, saves it to the filesystem, and
> then returns the page to whoever requested it. Next time that URL is
> requested, the static file will be served." (via
> http://weblog.philringnalda.com/2002/11/14/half-baked-and-a-little-fried)
> 
> So, does anyone have an idea how to do this? If there is no way of
> doing this I will choose Rails for my new site.
> 
> Julian
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to