http - How to redirect /:id to /:id/:name -
suppose have row in db (id: 1234, name: "some_movie"). when user type /movie/1234, want redirect them /movie/1234/some_movie , show page.
to that, need query db name when user hits /movie/1234, query again when user hits url /movie/1234/some_movie.
my question is, using global temp hash or cache server best way deal ?
Comments
Post a Comment