LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-14-2008, 10:43 PM   #1
ini_hendry
LQ Newbie
 
Registered: Aug 2007
Posts: 17

Rep: Reputation: 0
disable cache in browser ?


i'm writing socket programming..
i created a server. But when the browser client connects to my server, the browser always cache the web content. So, the next time when the request is just the same with previous request, the browser read the request from the cache, not re-request to the server.

Well, what i don't want it to read from cache.
Is there any way that i can do this from the server side ?

For info, i always returns the below header to the client browsers :

HTTP/1.1 200 OK
MIME-Version: 1.
Server: Colazz_webserv/1.0
Expires: Monday, 01-Jan-2020 12:00:00 GMT
Content-Type: text/html
Connection: close
Accept-Ranges: bytes


Is there anything i can add to the header, to make the browser "NOT" to cache it ??

or any other suggestion ??
 
Old 01-15-2008, 04:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,709
Blog Entries: 54

Rep: Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965
I recently posted some links I found here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Cache ?? Ameii83 Linux - Server 5 11-28-2006 09:12 PM
how-to disable cache squid paul_mat Linux - Networking 2 12-22-2005 12:32 AM
clear or disable file cache acristescu Linux - General 3 11-04-2005 11:25 AM
I had to disable the L2 external cache (512 K) pistachio Linux - Hardware 2 07-30-2005 01:19 PM
Is it possible to disable the disk cache? sunsfcn Linux - Software 3 07-15-2005 10:20 PM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration