473,396 Members | 1,774 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.

Memory clearing and reload.

Q
Hello,

I have composed an xhtml file and corresponding css file with styles.
It works OK. The problem is that I change my xhtml and css files and
cannot see these changs with my browser. To see this changes I need to
copy my xhtml and css files to another files an then reopen new copy
of xhtml file with my browser. Why is it happening? How I can force my
browser to clear its memory? Can I add something to xhtml file to
forbid browser to memorize given file?
Jul 23 '05 #1
3 2112
"Q" wrote in comp.infosystems.www.authoring.html:
I have composed an xhtml file and corresponding css file with styles.
It works OK. The problem is that I change my xhtml and css files and
cannot see these changs with my browser. To see this changes I need to
copy my xhtml and css files to another files an then reopen new copy
of xhtml file with my browser. Why is it happening? How I can force my
browser to clear its memory?
It does indeed sound like a caching problem.
Can I add something to xhtml file to forbid browser to memorize given file?


Not reliably, no.

In Mozilla you can select Edit, Preferences, Advanced, Cache and
click the buttons to clear both disk and memory cache. On that same
tab you can also select "Compare the page in the cache to the page
on the network" ... "Every time I view the page" which _might_ make
it unnecessary to clear the cache.

Internet Exploder probably has similar facilities under Tools,
Internet Options.

--

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Jul 23 '05 #2
Q wrote:
Can I add something to xhtml file to
forbid browser to memorize given file?


Not likely. But http headers might help.

http://www.mnot.net/cache_docs/

--
Brian
Jul 23 '05 #3
Forgive me if this is too obvious, but have you tried refreshing the page?

--
Merlin

"A shortcut has to be a challenge, because if it was easy, it would just be
the way."

"Q" <op*********@yahoo.com> wrote in message
news:5f*************************@posting.google.co m...
Hello,

I have composed an xhtml file and corresponding css file with styles.
It works OK. The problem is that I change my xhtml and css files and
cannot see these changs with my browser. To see this changes I need to
copy my xhtml and css files to another files an then reopen new copy
of xhtml file with my browser. Why is it happening? How I can force my
browser to clear its memory? Can I add something to xhtml file to
forbid browser to memorize given file?

Jul 23 '05 #4

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

Similar topics

1
by: Eugene | last post by:
Hi all, I have a page that uses JavaScript to continuously reload an image (Client-Pull method). Using Netscape v7.0 on Windows NT 4, Service Pack 6a, the images reload fine, but using...
4
by: Romeo Colacitti | last post by:
I have a need to make a custom quasi-memory allocator, and I remembered a simple ons in K&R2. Looking at the code for it now, I think I notice a "fault" in the design, and I was wondering if...
3
by: Brad | last post by:
I'm working with a DataGrid in C#, and the user needs to be able add and remove columns from the DataGrid on the fly, without opening and closing the form. The scenario is this. I have a setup...
4
by: Joshua Weir | last post by:
Hi, I have 2 questions: 1. IF i create an object on the Page_Load event function of a specific aspx page. Like so: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As...
7
by: matvdl | last post by:
I have migrated my asp application to asp.net some time ago - but I am still having some difficulties in understanding the best way to mange some tasks. I currently have a page that loads a aspx...
1
by: Shahid Juma | last post by:
Hi, I have a form and when the user clicks save, it will add all the details to the database. However, when I add it to the database, how do I clear the form values? What happens is that it...
1
by: buu | last post by:
It's strange to me, but, create a dictionary and fill it with 1 mil. of some objects. then, see the memory consumption (arised, of course). then, clean the dictionary.... memory consumption is...
17
by: axlq | last post by:
Situation: User submits a form, gets a page returned. User clicks the "reload button." Normal result: Browser asks to confirm re-submitting of the form data. That's not what I want. What I...
3
by: Tom | last post by:
I don't want to re-invent the wheel and am looking for a simple implementation of a text viewer or RichTextBox in read only mode that allows rapid file positioning within large data files without...
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: 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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.