WebSite X5Help Center

 
Graham J.
Graham J.
User

Refresh Footer  en

Автор: Graham J.
Просмотрено 2062, Подписчики 1, Размещенный 0  

www.dadars.com

I have live data in the footer, however it's not updating when I visit my site. Even though I have put not to cache and update on the website.

How can I make the footer refresh for every visit/page change?

Thanks

Graham

Размещено
3 Ответы
Esahc ..
Esahc ..
Moderator

If I was having that issue, I would add a cell to the bottom of the home page and add the live data, then copy that cell to the bottom of each appropriate page. You could then put static data/information in the footer.

If or when you move to version 12 or later to take advantage of responsive layout you will find the content of the footer is severely limited for mobile and tablet display, so the above work around will be a necessity.

Читать больше
Размещено От Esahc ..
Graham J.
Graham J.
User
Автор

It works fine if I hit the refresh button, it's like it's caching the site. I've told it not to but not sure I've done it corectly

Читать больше
Размещено От Graham J.
Jamie B.
Jamie B.
User

Hi try adding the following code:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

if that does not work try the other one below, because caching works differently on different browsers the below code is intended for variuos browsers:

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />

let me know if any of the above works.

regards

jamie

Читать больше
Размещено От Jamie B.