Specific Page Refresh - Post ID 197380

User 504166 Photo


Registered User
10 posts

Is there a way in VSD to force a specific page of a website to always refresh for a visitor to the site?
I am not looking for the page to refresh every minute, just the first time they visit that day it will force a reread of the page.

Thanks,
Bryan
User 436416 Photo


Registered User
87 posts

How about adding two custom META tags:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
<META HTTP-EQUIV="Expires" CONTENT="-1" />
User 2442993 Photo


Registered User
5 posts

Sorry, tried it, and those meta tags does not make any page refreshed, users will still have to manually press F5 each time, and on each pages of your updated site.....each time.:(
User 187934 Photo


Senior Advisor
20,271 posts

This one does.;) Paste to the head of your page.
<meta http-equiv="refresh" content="5">
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Eric,

Are you talking about Edit/Edit Header and placing it there?

Thanks,
Galen
User 2442993 Photo


Registered User
5 posts

Thanks Eric, this one worked, (refreshing page with a 5 sec interval)
User 2073552 Photo


Registered User
1,625 posts

Benoit Jean wrote:
Thanks Eric, this one worked, (refreshing page with a 5 sec interval)


He has the whole house in his hands, he has the whole house in his hands...
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2140875 Photo


Registered User
378 posts

Benoit,

Where exactly did you add the code?

Thanks,
Galen
User 38401 Photo


Senior Advisor
10,951 posts

Benoit Jean wrote:
Thanks Eric, this one worked, (refreshing page with a 5 sec interval)


I hope that's only a 5 seconds after entering the site and nothing after that Galen? If it does every 5 seconds your band width will skyrocket :|
User 2140875 Photo


Registered User
378 posts

Jo Ann

You are right. I just pasted tEric's he code into the Header. Now it is refreshing every 5 seconds.

Do you know the code I code add to make refresh on the first landing and that is all, not to repeat?

Thanks,

Galen

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.