|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Disable Image Caching |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|