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, 09: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, 03:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,112
Blog Entries: 54

Rep: Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784
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 08:12 PM
how-to disable cache squid paul_mat Linux - Networking 2 12-21-2005 11:32 PM
clear or disable file cache acristescu Linux - General 3 11-04-2005 10:25 AM
I had to disable the L2 external cache (512 K) pistachio Linux - Hardware 2 07-30-2005 12:19 PM
Is it possible to disable the disk cache? sunsfcn Linux - Software 3 07-15-2005 09:20 PM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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