Webmaster Forum

Sponsored Reviews   Keyword Research Tool   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-14-2008, 07:00 PM   #1 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 136
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right path
How to not cache certain images

I have no idea how caching works, and I'm trying not to cache an image that dynamically changes, how do i do this? (It's actually an image that displays whether or not my AIM screenname is online and it uses code like this):
Code:
<img src="http://big.oscar.aol.com/MyScreenName?on_url=online.bmp&off_url=offline.bmp">
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-15-2008, 03:44 AM   #2 (permalink)
Contributing Member
 
Join Date: 01-03-08
Location: Earth
Posts: 72
iTrader: 0 / 0%
Latest Blog:
None

john8 is liked by many
If my understanding is right, this BMP is managed by AOL, so you can't set cache expire time for them. But this matter may be already handled by AOL, it'll not be cached.

If you are using apache, you can set the cache expire time using .htacess.
john8 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-15-2008, 05:34 PM   #3 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 136
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right path
offline and online.bmp are hosted by me, they had my full web address in it, but i took it out. so how would I do it with apache? I tried looking and whatever i do i get the internal server error..
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-15-2008, 09:15 PM   #4 (permalink)
Contributing Member
 
Join Date: 01-03-08
Location: Earth
Posts: 72
iTrader: 0 / 0%
Latest Blog:
None

john8 is liked by many
try this in .htaccess
Code:
<IfModule mod_headers.c> <FilesMatch "line\.bmp$"> Header unset Cache-Control </FilesMatch> </IfModule>
john8 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-16-2008, 06:45 AM   #5 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 136
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right path
Ooh that worked I think, thank you very much
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What type of images and royalty free images do developers and webmasters need? EZRoyaltyFree Web Design Lobby 0 02-26-2008 09:11 AM
no cache, except old money... tossedsalad Google Forum 23 06-15-2006 01:12 AM
Cache or No-Cache ? bidhata Google Forum 2 01-04-2005 01:19 AM
Cache GoldDust Google Forum 3 03-20-2004 05:07 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:47 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.