Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on In search of the perfect URL.
Using a DB PKID is a faster lookup than a text slug and uses much less storage space in the DB.
For SEO / URL permanence reasons, the PKID is always the authoritative key while the slug can be updated to represent the current content of the URL.
There are no comments on this comment yet.
Using a DB PKID is a faster lookup than a text slug and uses much less storage space in the DB.
For SEO / URL permanence reasons, the PKID is always the authoritative key while the slug can be updated to represent the current content of the URL.