Dynamic content and browser cache

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

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
 
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

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).
 
Fred said:
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
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.
 
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.
 
Back
Top