Archive of UserLand's first discussion group, started October 5, 1998.

Re: StoryServer's URLs?

Author:Erik Alm
Posted:8/4/1999; 7:37:10 AM
Topic:Unique vs. Generic URLs
Msg #:9121 (In response to 3829)
Prev/Next:9120 / 9122

The first number tells if the page should be cached or not, the next is the unique id for the specific page (template) the third is an id in a database table (that this specific page/template is "assigned" to) and the last number talks about browser capabilities (not really sure about that one)

This way every template/page and row in the table assigned to this template gets a unique physical page.

StoryServer caches pages by first letting the webserver look for the document, if it doesnt exist the webserver "complains" to StoryServer that renders the page (with database content and all) and finally saves it in the filesystem. Next time the same page and unique id from the assigned table is requested the webserver finds the page and serves it without any StoryServer intervention needed.

This doesnt always work ofcourse but for e.g. newspapers with articles this is optimal.

Hope this sheds some light...

/Erik




This page was archived on 6/13/2001; 4:51:43 PM.

© Copyright 1998-2001 UserLand Software, Inc.