• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Automatically show changes once set live...

New Here ,
Jul 23, 2018 Jul 23, 2018

Copy link to clipboard

Copied

Is there a way to get my Muse website to always show the updated version without refreshing the page? When I do an update and republish, it doesn't show my changes unless I refresh the page. I often get asked by clients why I haven't made the changes requested, and I tell them to refresh and they show. However THEIR users will not know to do this...

Views

461

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
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 23, 2018 Jul 23, 2018

This is not a Muse behaviour, it is the behaviour of your browser and its cache. If you don’t want this:

Votes

Translate

Translate
LEGEND ,
Jul 23, 2018 Jul 23, 2018

Copy link to clipboard

Copied

This is not a Muse behaviour, it is the behaviour of your browser and its cache. If you don’t want this:

Votes

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
community guidelines
New Here ,
Jul 23, 2018 Jul 23, 2018

Copy link to clipboard

Copied

If I look at the BBC website that doesn't need refreshing....?

Votes

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
community guidelines
LEGEND ,
Jul 23, 2018 Jul 23, 2018

Copy link to clipboard

Copied

Then do, what I have suggested.

Be aware, that PHP sites with a database backend offer more sophisticated possibilities as a static Muse site does.

Votes

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
community guidelines
Community Expert ,
Jul 23, 2018 Jul 23, 2018

Copy link to clipboard

Copied

LATEST

Chrome is the most stuborn browser cache around.  When testing sites, I keep the developer console open (F12) and hit Network > Disable Cache.

https://i.stack.imgur.com/Grwsc.png

If you have a Linux/Apache server, you can set the caching directives inside the server's .htaccess file.  Depending on your hosting plan, you may be able to do this from your server's C-Panel.  If not, you will need to download the .htaccess file from your server with Filezilla or similar FTP client and ediit the with a plain text editor.  Do not use Muse for this.   When done, save the file and upload it to your root server (the same location as your index.html page).

Below is an example of what I use in the .htaccess file.   Basically, most of what your site uses can remain cached for 1 year.  The exceptions are things that change more often such as CSS (1 month) and content (2 days)..

## EXPIRES CACHING ##

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType application/vnd.ms-fontobject "access 1 year"

ExpiresByType application/x-font-ttf "access 1 year"

ExpiresByType application/x-font-opentype "access 1 year"

ExpiresByType application/x-font-woff "access  1 year"

ExpiresByType image/svg+xml "access 1 year"

ExpiresByType image/jpg "access 1 year"

ExpiresByType image/jpeg "access 1 year"

ExpiresByType image/gif "access 1 year"

ExpiresByType image/png "access 1 year"

ExpiresByType text/css "access 1 month"

ExpiresByType application/pdf "access 1 year"

ExpiresByType text/x-javascript "access 1 year"

ExpiresByType text/javascript "access 1 year"

ExpiresByType image/x-icon "access 1 year"

ExpiresDefault "access 2 days"

</IfModule>

## EXPIRES CACHING ##

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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
community guidelines