473,320 Members | 1,802 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,320 software developers and data experts.

CSS File Refresh is Not Happening

My ASP.NET application enables the user to update a css file that is used to
style pages in the same application. During testing I discovered that
sometimes when the css file gets updated, the browser (IE6/sp2, fully
patched) doesn't show the current styling... i.e., it is not using the
current version of the css file as saved on the server.

I have manually deleted the css file from the local machine and then
refreshed the page. The css file shows up, but not the current version of
the css file (the old version reappears - the one that I just deleted). I'm
guessing that the css file is getting cached *somewhere* but I don't know
where. I'm in a University behind an unknown number of firewalls and proxys
between the client and the Web server.

FWIW: I.E. is currently configured to check for newer versions of the page
on every visit.

Is there any way to make the browser get the current version of the file as
it currently exists on the server?

Thanks.
Nov 19 '05 #1
4 1700
Smithers wrote:
My ASP.NET application enables the user to update a css file that is used to
style pages in the same application. During testing I discovered that
sometimes when the css file gets updated, the browser (IE6/sp2, fully
patched) doesn't show the current styling... i.e., it is not using the
current version of the css file as saved on the server.

I have manually deleted the css file from the local machine and then
refreshed the page. The css file shows up, but not the current version of
the css file (the old version reappears - the one that I just deleted). I'm
guessing that the css file is getting cached *somewhere* but I don't know
where. I'm in a University behind an unknown number of firewalls and proxys
between the client and the Web server.

FWIW: I.E. is currently configured to check for newer versions of the page
on every visit.

Is there any way to make the browser get the current version of the file as
it currently exists on the server?

Thanks.

Hmm, I know on our software whenever we update our own CSS files we need
to do a Forced refresh CTFL-F5. That always works with us.
Have you checked your source and downloaded the CSS to see if it was
actually changed?

/RT
Nov 19 '05 #2
<< Have you checked your source and downloaded the CSS to see if it was
actually changed?>>

I did better than that - went directly to the server and opened the file
there. It's definitely modified.

"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Smithers wrote:
My ASP.NET application enables the user to update a css file that is used
to style pages in the same application. During testing I discovered that
sometimes when the css file gets updated, the browser (IE6/sp2, fully
patched) doesn't show the current styling... i.e., it is not using the
current version of the css file as saved on the server.

I have manually deleted the css file from the local machine and then
refreshed the page. The css file shows up, but not the current version of
the css file (the old version reappears - the one that I just deleted).
I'm guessing that the css file is getting cached *somewhere* but I don't
know where. I'm in a University behind an unknown number of firewalls and
proxys between the client and the Web server.

FWIW: I.E. is currently configured to check for newer versions of the
page on every visit.

Is there any way to make the browser get the current version of the file
as it currently exists on the server?

Thanks.

Hmm, I know on our software whenever we update our own CSS files we need
to do a Forced refresh CTFL-F5. That always works with us.
Have you checked your source and downloaded the CSS to see if it was
actually changed?

/RT

Nov 19 '05 #3
Is it possible that IIS itself is caching the css file???


"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Smithers wrote:
My ASP.NET application enables the user to update a css file that is used
to style pages in the same application. During testing I discovered that
sometimes when the css file gets updated, the browser (IE6/sp2, fully
patched) doesn't show the current styling... i.e., it is not using the
current version of the css file as saved on the server.

I have manually deleted the css file from the local machine and then
refreshed the page. The css file shows up, but not the current version of
the css file (the old version reappears - the one that I just deleted).
I'm guessing that the css file is getting cached *somewhere* but I don't
know where. I'm in a University behind an unknown number of firewalls and
proxys between the client and the Web server.

FWIW: I.E. is currently configured to check for newer versions of the
page on every visit.

Is there any way to make the browser get the current version of the file
as it currently exists on the server?

Thanks.

Hmm, I know on our software whenever we update our own CSS files we need
to do a Forced refresh CTFL-F5. That always works with us.
Have you checked your source and downloaded the CSS to see if it was
actually changed?

/RT

Nov 19 '05 #4
it's been cached on server (IIS) and client (IE) as well
"Smithers" <A@B.com> wrote in message
news:ug**************@TK2MSFTNGP09.phx.gbl...
Is it possible that IIS itself is caching the css file???


"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Smithers wrote:
My ASP.NET application enables the user to update a css file that is
used to style pages in the same application. During testing I discovered
that sometimes when the css file gets updated, the browser (IE6/sp2,
fully patched) doesn't show the current styling... i.e., it is not using
the current version of the css file as saved on the server.

I have manually deleted the css file from the local machine and then
refreshed the page. The css file shows up, but not the current version
of the css file (the old version reappears - the one that I just
deleted). I'm guessing that the css file is getting cached *somewhere*
but I don't know where. I'm in a University behind an unknown number of
firewalls and proxys between the client and the Web server.

FWIW: I.E. is currently configured to check for newer versions of the
page on every visit.

Is there any way to make the browser get the current version of the file
as it currently exists on the server?

Thanks.

Hmm, I know on our software whenever we update our own CSS files we need
to do a Forced refresh CTFL-F5. That always works with us.
Have you checked your source and downloaded the CSS to see if it was
actually changed?

/RT


Nov 19 '05 #5

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

Similar topics

4
by: Alexander Gilman Carver | last post by:
I have written a pair of scripts that are supposed to work together to display an index of files and then, upon the user choosing the files (with checkboxes on an HTML form submitted to itself),...
1
by: Bilal | last post by:
Hi, I'm a complete beginner in Javascript and php ... so forgive me for asking an easy/simple solution to the following problem: I'm developing an application that involves multi-screen in...
1
by: Gary W | last post by:
Hello, I have a page, thanks.asp which uses classic ASP VBSCRIPT & CDONTS to send mail, for example: <% Set bc = Server.CreateObject("MSWC.BrowserType") Set objMessage =...
10
by: tasmisr | last post by:
This is an old problem,, but I never had it so bad like this before,, the events are refiring when clicking the Browser refresh button. In the Submit button in my webform, I capture the server side...
3
by: Sameer | last post by:
I have a webpage that has a link button. This link button on click opens up a new page. This is what is happening: 1. Load the web page. 2. Click on the link. 3. Refresh the web-page. Result:...
17
by: SamSpade | last post by:
picDocument is a picturebox When I do picDocument.Invalidate() the box paints. But if instead I do picDocument.Refresh() the box does not paint. What does Refresh do. I guessed it did an...
9
by: Mr Newbie | last post by:
Before someone flames me, I know this is the VB.NET groups, nonetheless, the asp.net guys seems to have almost disapeared from the aspnet groups so I thought I would ask this here. I have a...
1
by: J055 | last post by:
Hi I have a GridView which includes the ability to delete rows. This works fine accept for when a naughty user decides to refresh the browser thereby posting the same delete command instruction....
3
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hi all, i betcha here's a question never asked before ;) i have a simple web form with a gridview and a button. the button doesn't do anything but a postback. i load up the gridview from the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
0
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...
0
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.