Automatically refresh landing page.

Automatically refresh landing page.

Anonymous
Not applicable
1,321 Views
5 Replies
Message 1 of 6

Automatically refresh landing page.

Anonymous
Not applicable

Hello,

 

I have been fiddling around with the landing page of our vault server. My main goal was to provide updates for other CAD drawers who are not within earshot, so to speak, regarding updated libraries, product releases, etc.

 

Currently the landing page html file has been replaced with a new one on the server. The Vault Client still shows the previous landing page though, even after restarting the client.

I am aware of the fix to clear IE browser history, but as i intend to update the landing page with fresh info every now and then...

having to send an email to the other CAD users that they need to clear their browser history kind of defeats the purpose of having a customizable server sided landing page.

 

is there a way i can force Vault clients to update it's landing page on start up?

 

- Mees

0 Likes
Accepted solutions (1)
1,322 Views
5 Replies
Replies (5)
Message 2 of 6

cbenner
Mentor
Mentor

@Anonymous 

 

The short answer is no.  BUT... depending on what browser you and your users are using, there may be a way, in the browser settings, to control how often the history and cookies cache are cleared.  Maybe there is a way to tell Chrome, for example, to clear the history and cookies each time a browser is opened?

0 Likes
Message 3 of 6

olegd.prod
Autodesk
Autodesk
Accepted solution

Caching is a "sensitive" topic for web browsers, with each one behaving a little differently.

 

Try to add this to your HTML page's head section:

<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</head>

 

After the first force-refresh, the browser may respect this and reload the page every time

Would be curious to hear how this works for you.

 

If you think that a forced-refresh behavior would be useful to others in the Vault community: post the idea on the Idea Station, and we'll see what people think.  This is not quite a democracy, but we do monitor the Idea Station, so if an idea gets enough votes ...  🙂

 

Message 4 of 6

Anonymous
Not applicable

Well... it works!

 

first i added the entire <head> section, and it didn't work.

Then i realized there already was a <head> section, so i copied your <head> section content into the already present <head> section. (i am not very proficient in html)

 

After the first force refresh, it worked as intended (changes to server index.html show on vault client start up).

 

Thank you!

 

- Mees

0 Likes
Message 5 of 6

hwhite
Enthusiast
Enthusiast

@olegd.prod 

I wanted to say thanks for the suggestion.  Our client tried it and that resolved the issue for them and they had been struggling with for some time now.

0 Likes
Message 6 of 6

olegd.prod
Autodesk
Autodesk
Glad to hear it!
0 Likes