Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question please guys.. 3

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
As you guys are aware of i'm sure, AOL's browser(version of Internet Explorer), or AOL in general I should say is or has what they call a "central server" or something like that (i know thats not the name but I can't think of it right now)where AOL retrieves the data from your server and stores it on theres so they can process the data faster..Right? Anyways I think so, my problem is that when they do this all images pertaining to that particular site become almost unbarable to look at after a couple visits (through aol)..Never happens In IE alone or Netscape..Only aol that I know of..

So my question is what is the work around for this? Would it be as simple as "no cache" the files? But then IE and netscape users will suffer on download times on return visits..

Guys please forgive me if this sounds stupid but the person i'm building this site for uses aol as there on personal browser and I do not ever want the client logging on to there web site and seeing it the way aol leaves it after storing the image files..

Any ideas? oer the best workaround?
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Hi mate,

If I understand you correctly, then it is a proxy server.

As far as I am aware, there is not really anything that you can do about it. The proxy "should" update its files every hour or so, so I guess that you may just be stuck with that.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Yeh thanks Wullie it is a proxy server..Will look into it further to see if I can find a work around..But it is definatly a problem that I need to resolve..


Guess until then I will just "no cache" pages..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Hi mate,

Just been thinking about this..

You could generate a random query string to add to your links, which may fool the proxy into thinking that the pages are actually unvisited.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
*nods*
That random querystring method has worked in every instance I have seen it. To bad proxies don't support the no-cache arguments.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Well if they do not support tha argument, Wullie can you show me a example of the querystring..

Thanks in advance
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Hi mate,

The following is just one way to do this server side, it is also possible client side.

This uses a combination of time related variables to generate the query string.

<!--#config timefmt=&quot;%j%H%M%S&quot; --><img src=&quot;/images/image.gif?<!--#echo var=&quot;DATE_LOCAL&quot; -->&quot;>

You can see an example of this code working at
If you mouseover the image, I have added the query string to the alt tag to make it easier to see the change. Everytime that you refresh, the query string will be different.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Where do I ad this query string wullie? I saw the button you referenced but this string is not in the html that calls the image..So how does the image no to reference the string?

Sorry for being dumb, but learning as I go..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Hi mate,

The code I supplied above is SSI. To set it up, you just need to include that in the page, that is assuming that you can use SSI.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Ok wullie just tested the server for ssi and all is good..So if I understand this correctly do I just make a page with all the images that will be used in the site with your string above and save it as a text file..The call the include from the html that will hold the interface?

Something like this :

<DIV ALIGN=&quot;CENTER&quot;>
<!--#include virtual=&quot;image.txt&quot; -->
</DIV>

And the text file would have your code above calling the image? Is that right, or no?
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Hi mate,

You can either call that code with an include statement or add it directly to the code that you already have, that is up to you.

If you use an include statement, then you can't put the code in a txt file, it needs to be named shtml or whatever your server uses for SSI. To explain a bit futher, if a file contains SSI statements, then it will only be parsed for SSI if it is in a .shtml page, that is the same whether it is included or directly on the page.

To use the above code, you simply use it as follows:

<!--#config timefmt=&quot;%j%H%M%S&quot; -->

<img src=&quot;/images/image.gif?<!--#echo var=&quot;DATE_LOCAL&quot; -->&quot;>

<img src=&quot;/images/image.gif?<!--#echo var=&quot;DATE_LOCAL&quot; -->&quot;>

Then simply repeat the image code for every image that is used on the page.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Thanks alot..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top