From: Fred on 23 Mar 2010 00:59 Hello, Let's suppose I have a image.aspx file that returns an image according to two parameters : image.aspx?p1=v1&p2=v2 Are there some good practices in this kind of situation ? (url rewriting, expiration dates ...) PS : I don't need to help indexing bots. The returned image won't change at each call Thanks for advices -- Fred foleide(a)free.fr
From: Alexey Smirnov on 23 Mar 2010 11:03 On Mar 23, 5:59 am, "Fred" <fole...(a)free.fr.invalid> wrote: > Hello, > > Let's suppose I have a image.aspx file that returns an image according > to two parameters : image.aspx?p1=v1&p2=v2 > Are there some good practices in this kind of situation ? (url > rewriting, expiration dates ...) > PS : I don't need to help indexing bots. > The returned image won't change at each call > > Thanks for advices > > -- > Fred > fole...(a)free.fr To avoid caching you can add an unique string at the url. For example, it can be time stamp, or a session id (if it's valid per session).
From: Andy O'Neill on 23 Mar 2010 13:23 "Fred" <foleide(a)free.fr.invalid> wrote in message news:u5vpbWkyKHA.2644(a)TK2MSFTNGP04.phx.gbl... > Hello, > > Let's suppose I have a image.aspx file that returns an image according to > two parameters : image.aspx?p1=v1&p2=v2 > Are there some good practices in this kind of situation ? (url rewriting, > expiration dates ...) > PS : I don't need to help indexing bots. > The returned image won't change at each call > > Thanks for advices > > -- > Fred > foleide(a)free.fr You could cache with an entry per combination of both properties. Depends on how many visitors with how many possible images and how big they are.
From: Fred on 27 Mar 2010 02:03 "Andy O'Neill" <aon14nocannedmeat(a)lycos.co.uk> a �crit dans le message de groupe de discussion : zO6qn.159176$1X5.15407(a)newsfe04.ams2... > You could cache with an entry per combination of both properties. > Depends on how many visitors with how many possible images and how big > they are. Sorry to come back so late and thanks to Alexey and Andy. I am afraid I didn't write my question clearly. I wan't to know if a client browser will store the result of this kind of url in its cache. Or if it will request the server each time it will read it in a page. Example : the request can return a banner logo that will be present on every page of the web application. -- Fred foleide(a)free.fr
|
Pages: 1 Prev: Are custom expression builders neccessary? Next: multiple nested gridviews |