Highlighted

How do I force clearing the browser cache assuring users view current Captivate Course in their Browser

New Here ,
Oct 12, 2017

Copy link to clipboard

Copied

Sometimes I publish a project to update an existing project and copy the files to the server but when I go to view it I see the previous Captivate project.  I understand that the browser is accessing the previous captivate project in the browser's cache.  If I clear the browser cache then I see the updated Captivate course.   

I know to clear the browser cache but how can I force clearing the cache for my users assuring they always see the current Captivate Project?

Thanks for your help with this. 

-Steve Lewis

Views

348

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How do I force clearing the browser cache assuring users view current Captivate Course in their Browser

New Here ,
Oct 12, 2017

Copy link to clipboard

Copied

Sometimes I publish a project to update an existing project and copy the files to the server but when I go to view it I see the previous Captivate project.  I understand that the browser is accessing the previous captivate project in the browser's cache.  If I clear the browser cache then I see the updated Captivate course.   

I know to clear the browser cache but how can I force clearing the cache for my users assuring they always see the current Captivate Project?

Thanks for your help with this. 

-Steve Lewis

Views

349

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Oct 12, 2017

Copy link to clipboard

Copied

If I am not wrong this is something which has to be done before captivate project load so I think there is no possibility which you can force to clear browser cache from captivate.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Oct 13, 2017

Copy link to clipboard

Copied

If you own the server you can force the browser to serve the latest file type.

For apache you can edit the htaccess file:

ExpiresByType image/jpeg                            "access plus 0 seconds"

This will always serve the latest and greatest jpeg.

You can do this for all image types as well as other file types.

You can also use an activeX control to check browser setting and then access them through JavaScript and alert the user to change their settings. For example, in IE, check that the browser is set to check for a newer version of the page  every time the user accesses the page.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Oct 13, 2017

Copy link to clipboard

Copied

Thank you.

Writing a line of code in the .htaccess file sounds like a great way to do this.   Let's say I have an image "chair.jpg" and "desk.jpg."  Can you give me the exact line of code to put in the .htaccess file to make the browser reload the project from the server if the image expired.

Again, this is just what I was looking for.   Thank you.

-Steve

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Oct 13, 2017

Copy link to clipboard

Copied

It would be:

ExpiresActive On

ExpiresByType image/jpeg                            "access plus 0 seconds"

ExpiresByType image/png                             "access plus 0 seconds"

If you already have the ExpiresActive On line, just put the line for jpeg underneath it.

If you have loaded those into Captivate they will be exported as encoded pngs though.

I can't test this, but you could also try:

ExpiresByType application/json                           "access plus 0 seconds"

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Oct 13, 2017

Copy link to clipboard

Copied

I'll try that.   This will solve a big challenge I have with users not seeing the latest version of the E-Learning.  I'm surprised more people don't have this problem.   

Thank you,

-Steve Lewis

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Apr 24, 2020

Copy link to clipboard

Copied

This is definitely still a problem, especially with recent Chrome browsers... On my website, I have caching for images for longer time, so I will change all my .htaccess rules to make sure I can serve "uncached" or very short caching period for the Captivate content. If I am successful, I will share what was done here in this topic.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...