I wish to turn off browser caching through some meta tags. Note the
following:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
However, running against my local site, the browser still caches the page
and it's contents. What am I missing? 4 4661
Hi Robert,
Meta tags work only on postback and that too depending on the browser. I
dont think its a good idea to depend on the Metatags for caching...
HTH,
Need any help, do post a msg back..
Happy Coding
"Robert Strickland" wrote: I wish to turn off browser caching through some meta tags. Note the following:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
However, running against my local site, the browser still caches the page and it's contents. What am I missing?
Thanks for responding.
How do I keep the page, images, etc. from caching on the client machine. We
use .Net Asp.Net. Most pages will have the aspx. extension.
"Vishnu-Chivukula" <Vi*************@discussions.microsoft.com> wrote in
message news:14**********************************@microsof t.com... Hi Robert,
Meta tags work only on postback and that too depending on the browser. I dont think its a good idea to depend on the Metatags for caching... HTH,
Need any help, do post a msg back..
Happy Coding
"Robert Strickland" wrote:
I wish to turn off browser caching through some meta tags. Note the following:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
However, running against my local site, the browser still caches the page and it's contents. What am I missing?
There are ways to stop images from caching, but as for as the page text
and other data, I'm not sure if there is much of a way aside from the
meta tags.
However, I'd like to see a solution if there is a way. :)
Robert Strickland wrote: I wish to turn off browser caching through some meta tags. Note the following:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
Does this nonsense never die :-(
Use HTTP Cache-Control headers to control caching, for example:
Response.Cache.SetCacheability(HttpCacheability.No Cache);
Cheers,
-- http://www.joergjooss.de
mailto:ne********@joergjooss.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: olle |
last post by:
Hi folks.
I learning asp.net and compare it with traditional asp and
Access-developing.
The issue is this one:
1/I have this Ms Acceess adp-project application that works fine on my
Ms Sql...
|
by: moko |
last post by:
I want to know whether 'dataset caching' is at the client end , or the
server ? Similarly is an aspx page caching at the server or client ?
Are there any 'gotchas' with caching ?
|
by: Troy Simpson |
last post by:
Hi,
I have a website which is made up of dynamic pages. Each page that's loaded
has some code which looks at which template to load amongst other things,
which causes the page to take a little...
|
by: Janaka |
last post by:
Hi All,
I'm having a problem with Page Output caching on a page that contains a
DataGrid. Basically the page pulls up some data for sales information from
the DB. Some of this has to be...
|
by: Rohit |
last post by:
I need to turn off caching in my ASP.NET page. I have set the following code
in Page Load event:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Still, sometimes the page is retreived...
|
by: DC |
last post by:
Hi,
(ASP.Net 1.1) is it possible to (programmatically and globally)
deactivate page fragment caching? We have only two scenarios,
development stage where we want caching off and testing where we...
|
by: George1776 |
last post by:
All,
I've recently upgraded our production ASP.NET/C# application from
framework 1.1 to 2.0. Since then I've been plagued by out-of-memory
errors and problems with the cache object (which may...
|
by: jason |
last post by:
hi experts,
support.microsoft.com/kb/917072 and
http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/
As pointed out in these articles, users might get session variables belong
to...
|
by: Hermann |
last post by:
My site is a bit slow showing the main page so I thought caching query
result in PHP will improve performace.
Then I read MySQL documentation and saw that MySQL does have a caching
feature.
So......
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |