Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 9th, 2001, 01:41 PM
gaurav gaurav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 2 gaurav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Disable Image Caching

Hello All,

Is there a way I can disable image caching on an Apache web server? This is not related to caching with Apache proxy. This is what I want to accomplish:

When a person visits site xyz.com, all the files from the pages that he visited @ xyz.com are stored in the Temporary Internet Directory/Cache directory on a PC. I want to stop a few file extensions from being cached. I want the server to tell the browser that don't cache these files.

This can be achieved using mime directives with MS IIS, but I am looking for specific information as to how this can be achieved with Apache. Would appreciate it if somebody can guide me through it.

TIA,
- Gaurav

Reply With Quote
  #2  
Old December 10th, 2001, 04:04 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Well, I don't know if this can be done in Apache. All I know is using the META tag in the html. Also, there have function in PHP, so you just search at www.php.net .

<meta http-equiv="Pragma" content="no-cache">

This will stop from storage the cache in the visitors' computer.

Reply With Quote
  #3  
Old December 10th, 2001, 11:52 PM
gaurav gaurav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 2 gaurav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Mezz,

Thanks for the reply. AFAIK, that meta tag will only tell the visitor's computer to fetch the files from the server next time also. It does places the files in the cache.

The search for answer continues...

- Gaurav

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Disable Image Caching


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT