Dynamic content and browser cache

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
 
G

Guest

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).
 
A

Andy O'Neill

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

Fred

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top