473,396 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Browser (and other) caching

I have a dynamic website system that my clients use to change their webpage
conten online. Sometimes the new change isn't visible right away to a
browser. I have the following in every webpage's <HEAD> section:

<META HTTP-EQUIV="EXPIRES" CONTENT="0">

which on previous investigation was supposed to be a solution for this. All
I want is a definitive solution so that when a browser makes a call to my
server for one of my pages, everything along the line that has a cached copy
of the page is going to say "Aha! The browser wants the latest version of
this page! I'm going to pass this request up the line to see if their is a
more recent version instead of sending it my cached copy". (Yup, that is how
browsers and ISPs speak to each other). What do I have to do to my webpages
to ensure this happens? At the same time, I don't want it to be getting the
page all the way from the server if the page content hasn't changed. In
other words, I just want the cacheing to work properly!

Sorry if this isn't an explicit ASP question but no one in the HTML groups
I've tried has any idea what I'm talking about and I'm hoping that those who
frequent this room will have a better handle on the whole
client/server/caching problem and the solution!

Thanks!
Jul 19 '05 #1
2 1347
http://www.aspfaq.com/show.asp?id=2022

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Simon Wigzell" <si**********@shaw.ca> wrote in message
news:r0iJc.24848$ek5.14222@pd7tw2no...
I have a dynamic website system that my clients use to change their webpage conten online. Sometimes the new change isn't visible right away to a
browser. I have the following in every webpage's <HEAD> section:

<META HTTP-EQUIV="EXPIRES" CONTENT="0">

which on previous investigation was supposed to be a solution for this. All I want is a definitive solution so that when a browser makes a call to my
server for one of my pages, everything along the line that has a cached copy of the page is going to say "Aha! The browser wants the latest version of
this page! I'm going to pass this request up the line to see if their is a
more recent version instead of sending it my cached copy". (Yup, that is how browsers and ISPs speak to each other). What do I have to do to my webpages to ensure this happens? At the same time, I don't want it to be getting the page all the way from the server if the page content hasn't changed. In
other words, I just want the cacheing to work properly!

Sorry if this isn't an explicit ASP question but no one in the HTML groups
I've tried has any idea what I'm talking about and I'm hoping that those who frequent this room will have a better handle on the whole
client/server/caching problem and the solution!

Thanks!

Jul 19 '05 #2
>
"Simon Wigzell" <si**********@shaw.ca> wrote in message
news:r0iJc.24848$ek5.14222@pd7tw2no...
I have a dynamic website system that my clients use to change their webpage
conten online. Sometimes the new change isn't visible right away to a
browser. I have the following in every webpage's <HEAD> section:

<META HTTP-EQUIV="EXPIRES" CONTENT="0">

which on previous investigation was supposed to be a solution for this.

All
I want is a definitive solution so that when a browser makes a call to my server for one of my pages, everything along the line that has a cached

copy
of the page is going to say "Aha! The browser wants the latest version of this page! I'm going to pass this request up the line to see if their is a more recent version instead of sending it my cached copy". (Yup, that is

how
browsers and ISPs speak to each other). What do I have to do to my

webpages
to ensure this happens? At the same time, I don't want it to be getting

the
page all the way from the server if the page content hasn't changed. In
other words, I just want the cacheing to work properly!

Sorry if this isn't an explicit ASP question but no one in the HTML groups I've tried has any idea what I'm talking about and I'm hoping that those

who
frequent this room will have a better handle on the whole
client/server/caching problem and the solution!

Thanks!


"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl... http://www.aspfaq.com/show.asp?id=2022

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

I should have said - the asp server code produces html files that sit on the
server, these are what the client browsers are retrieveing so I need the
solution for html files, not asp. Thanks.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
4
by: harry | last post by:
Using IE 5.5(sp2) no other! I have several .js files that are included in various jsp pages. I've read somewhere(can't remember where?) that the browser caches .js files. If this is the...
25
by: Ryan Stewart | last post by:
I'm working on a project to collect web application usage statistics. What are the recommended ways of detecting whether a browser is JavaScript enabled and/or capable? Obviously I can write a...
5
by: R. Ian Lee | last post by:
I have an ASP.NET page that spawns a popup window using javascript's window.open. This works fine. It pops up, you enter some data, press save and everything saves as it should. But, if you...
12
by: Ken Varn | last post by:
Is there anyway within my web application that I can have all browser caching turned off for all aspx pages sent by my IIS server? I need to have all caching off in order for certain things to...
1
by: Chu | last post by:
Hello All- I'm writing a game using asp.net (c#). The game is a browser-based Role Playing Game. I'm trying to determine the best way to design the game with scalability in mind. The Player...
21
by: nsimeonov | last post by:
Hello, Does anyone have any idea how Gmail does this? I have a web application and people complain sometimes about some problems and most of the time it turns out it's the browser's cache...
1
by: Mateusz Viste | last post by:
В Четверг 16 октября 2008 17:21, sasuke писал: There is many requests indeed, but it's rather normal - Steve has put online various weird stuff which needs to be loaded :-) ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.