How do I get includes to work in FP or is it caching?

T

Trevor Lawrence

I have a site with FP includes - see URL below

All these pages include sidebar.html
album.html
about.html
contacts.html
events.html
index.html

I have amended sidebar.html and published all the above several times, but
only index.html shows the updates, whereas the others do not (as evidenced
by the action of the pages and View Source)

The latest change is very minor but it can be seen quite clearly. The
included file
sidebar.html has this at line 108
<a id="flink"
href="testpage.html"
target="_self">
</a>

But the old code is still present on events.html at line 116
<a id="flink"
href="testpage.html"
target="_self">No Title
</a>

It HAS been updated on index.html line 131
<a id="flink"
href="testpage.html"
target="_self">
</a>

I thought maybe it is caching but all 5 pages have this code in the <head>
<meta http-equiv="cache-control" content="no-cache">

What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the files
in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded every
time ?
 
T

Trevor Lawrence

Trevor Lawrence said:
I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected IMMEDIATELY
 
S

Stefan B Rusynko

Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Trevor Lawrence said:
I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected IMMEDIATELY
 
T

Trevor Lawrence

Thanks, Stefan

In reply,
1. Where are the cached files stored ?
2. The link is populated by a JS function
function setlink (toLoad,From,pTitle){
var x = document.anchors("flink");
x.href = toLoad + '?hr=' + From.substr(From.search("ratec/")+6)
+ '&ptitle=' + pTitle ;
x.innerHTML = x.title = pTitle;
}
although I am working on placing default values in the link and changing the
JS to overwrite them

--
Trevor Lawrence
Canberra
Web Site http://ratec.actbus.net


Stefan B Rusynko said:
Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Trevor Lawrence said:
I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded
every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected
IMMEDIATELY

--
Trevor Lawrence
Secretary and Webmaster
The Retired ACT Transport Employees Club
Web Site http://ratec.actbus.net
 
S

Stefan B Rusynko

Use your browser to delete the cache
- Tools Internet Options

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Thanks, Stefan

In reply,
1. Where are the cached files stored ?
2. The link is populated by a JS function
function setlink (toLoad,From,pTitle){
var x = document.anchors("flink");
x.href = toLoad + '?hr=' + From.substr(From.search("ratec/")+6)
+ '&ptitle=' + pTitle ;
x.innerHTML = x.title = pTitle;
}
although I am working on placing default values in the link and changing the
JS to overwrite them

--
Trevor Lawrence
Canberra
Web Site http://ratec.actbus.net


Stefan B Rusynko said:
Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Trevor Lawrence said:
I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded
every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected
IMMEDIATELY

--
Trevor Lawrence
Secretary and Webmaster
The Retired ACT Transport Employees Club
Web Site http://ratec.actbus.net
 
T

Trevor Lawrence

Thanks,

It appears that IE8 stores its temporary files in
C:\Documents and Settings\Administrator\Local Settings\Temporary Internet
Files

Tools | Internet Options has a button to delete temporary files, history,
cookies, saved passwords, and web form information.

Clicking this will clearly delete all these, but some are useful, especially
saved passwords and web form information.

I guess I will have to use a program such as CCleaner which gives me some
control


--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org

Stefan B Rusynko said:
Use your browser to delete the cache
- Tools Internet Options

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Thanks, Stefan

In reply,
1. Where are the cached files stored ?
2. The link is populated by a JS function
function setlink (toLoad,From,pTitle){
var x = document.anchors("flink");
x.href = toLoad + '?hr=' + From.substr(From.search("ratec/")+6)
+ '&ptitle=' + pTitle ;
x.innerHTML = x.title = pTitle;
}
although I am working on placing default values in the link and changing
the
JS to overwrite them

--
Trevor Lawrence
Canberra
Web Site http://ratec.actbus.net


Stefan B Rusynko said:
Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Trevor Lawrence said:
I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded
every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected
IMMEDIATELY

--
Trevor Lawrence
Secretary and Webmaster
The Retired ACT Transport Employees Club
Web Site http://ratec.actbus.net
 
R

Ronx

IE8 gives you that control.
Click the button, then choose what you wish to delete.
In general, if a (Microsoft) button or menu option has ... as a suffix, then
another set of options follow.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Trevor Lawrence said:
Thanks,

It appears that IE8 stores its temporary files in
C:\Documents and Settings\Administrator\Local Settings\Temporary Internet
Files

Tools | Internet Options has a button to delete temporary files, history,
cookies, saved passwords, and web form information.

Clicking this will clearly delete all these, but some are useful,
especially saved passwords and web form information.

I guess I will have to use a program such as CCleaner which gives me some
control


--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org

Stefan B Rusynko said:
Use your browser to delete the cache
- Tools Internet Options

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Thanks, Stefan

In reply,
1. Where are the cached files stored ?
2. The link is populated by a JS function
function setlink (toLoad,From,pTitle){
var x = document.anchors("flink");
x.href = toLoad + '?hr=' + From.substr(From.search("ratec/")+6)
+ '&ptitle=' + pTitle ;
x.innerHTML = x.title = pTitle;
}
although I am working on placing default values in the link and changing
the
JS to overwrite them

--
Trevor Lawrence
Canberra
Web Site http://ratec.actbus.net


Stefan B Rusynko said:
Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded
every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected
IMMEDIATELY

--
Trevor Lawrence
Secretary and Webmaster
The Retired ACT Transport Employees Club
Web Site http://ratec.actbus.net
 
T

Trevor Lawrence

Well, Duh, who is dumb - ME !?

I will have to experiment. I assume that deleting Cookies does not include
deleting saved passwords (since the latter are separate) Although under
Cookies, there is mention of login preferences. IIRC, there is also a
setting somewhere that specifies sites from which Cookies are NOT to be
deleted

--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org

Ronx said:
IE8 gives you that control.
Click the button, then choose what you wish to delete.
In general, if a (Microsoft) button or menu option has ... as a suffix,
then another set of options follow.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Trevor Lawrence said:
Thanks,

It appears that IE8 stores its temporary files in
C:\Documents and Settings\Administrator\Local Settings\Temporary Internet
Files

Tools | Internet Options has a button to delete temporary files, history,
cookies, saved passwords, and web form information.

Clicking this will clearly delete all these, but some are useful,
especially saved passwords and web form information.

I guess I will have to use a program such as CCleaner which gives me some
control


--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org

Stefan B Rusynko said:
Use your browser to delete the cache
- Tools Internet Options

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Thanks, Stefan

In reply,
1. Where are the cached files stored ?
2. The link is populated by a JS function
function setlink (toLoad,From,pTitle){
var x = document.anchors("flink");
x.href = toLoad + '?hr=' + From.substr(From.search("ratec/")+6)
+ '&ptitle=' + pTitle ;
x.innerHTML = x.title = pTitle;
}
although I am working on placing default values in the link and changing
the
JS to overwrite them

--
Trevor Lawrence
Canberra
Web Site http://ratec.actbus.net


Clear your browser cache regularly

PS
You link won't show on a page since it is an empty hyperlink
<a id="flink" href="testpage.html" target="_self"></a>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


I have a site with FP includes - see URL below

[snip] What is wrong and how do I fix it ?

P.S. Just to confuse even further, I have now exited FP and looked the
files in a text editor and now they ARE changed .

So is it caching and how do make sure that the latest page is loaded
every
time ?

I have now opened the remote website in IE8 and all pages are fine.

So the question is - how do I ensure that changes are reflected
IMMEDIATELY

--
Trevor Lawrence
Secretary and Webmaster
The Retired ACT Transport Employees Club
Web Site http://ratec.actbus.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top