-
AuthorPosts
-
June 8, 2020 at 6:41 pm #1220558
Hello,
For the past few days, I have noticed that every time I make a change to my website, I have to refresh the page(s) in order to be able to see the update. A few examples:
– After adding text to a static page, I had to refresh that page in order to see the added text;
– After updating a blog post, I had to refresh the page to see the updated version of the post;
– After modifying the primary menu, I had to refresh each and every page of the site in order to see the new version of the menu;
– I have uploaded a favicon, and same thing, I had to refresh each and every page of the site in order to see the favicon on every tab;
– And lastly, as a test I uploaded a new logo, and the same thing happened again, I had to refresh each and every page in order to see the new logo in the menu bar on each page.Sorry for the repetitive info but I prefer to give you all the details rather than miss something that might be important for you to identify the issue.
The issue happens whether I am logged in or not. I have cleared my computer’s cache and checked again and the problem persists.
I’m not sure why this is happening. Up until a few days ago, any update I’d make would be immediately visible with no further ado.
Hope you can help
Many thanks
StephanieJune 9, 2020 at 9:48 am #1220796Hey Stephanie,
I’m not sure I understand that problem, but if you expect the pages to automatically update without you reloading them then that is not possible unfortunately. There might be scripts you can run in order for the script to detect changes and automatically reload, but that might be a bit advanced. So in short; if you make changes on the backend, then you will have to reload the front end to see the changes.
Best regards,
RikardJune 9, 2020 at 10:46 am #1220816Hey Rikard,
Thanks for your reply and sorry if my description of the problem wasn’t clear. I’m going to try and explain better (sorry if it’s a bit long, please bear with me.)
Until a few days ago, I didn’t need to refresh/reload each and every page I made changes to in order to see the changes on the front end. Say for example:
1) I added new content to a page in the back end
2) I clicked on ‘Update’ to save the changes and update the page
3) I logged out
4) I checked the page on the website and could see the new content immediatelySame thing if I made a change to the menu:
1) I modified the menu
2) I clicked on ‘save menu’
3) I logged out
4) I checked the website and the new version of the menu would be on each page immediately.And now:
1) 2) and 3) – same
4) I check the page on the website and can’t see the new content I’ve just added. I have to reload the page in order to see the new content. And it’s crazy that I had to reload each and every page, blog posts included, in order to see the new menu on every page.It’s like something no longer takes modifications into account and shows the previous version of the website instead of the newest version.
I have checked on another computer as well as on my phone, and the issue happens everywhere. It’s also irrelevant to the navigator (I’ve checked with three different navigators: chrome, internet explorer and edge.)
The problem of course is that everyone who has already visited my website at least once, won’t see any new content unless they reload each page (or unless they have cleared their cookies/history in between) – but how would they know? When I visit a website, I don’t expect to have to refresh each page just in case I might miss new content. The new content is displayed and it’s as simple as that.
Really hope you can help with this.
Many thanks
StephanieJune 10, 2020 at 7:25 am #1221071Hi Stephanie,
I’m still not sure I understand the problem though, as I stated previously, a page won’t just update automatically unfortunately. So if you have a tab open, let’s say your.site/some-page, then you change something on that page on the backend in another tab and save. If you then go back to your.site/some-page, then you won’t see the changes unless you actually reload the page. That is true for all websites, unless you run a script as I was referring to, but I don’t think you have done something like that on you local computer.
I do see that you have a caching plugin on your site, that might be the reason to why you are not seeing updates. Make sure that you always clear the cache from it if you don’t see changes appearing as they should. The plugin won’t cache content for logged in users, so if you are logging out to check changes then please don’t do that. Also make sure that you check the option to delete the old CSS and JS files under Enfold->Performance.
We can’t do anything about cache in local browser unfortunately, but local cache does expire within a few days.
Best regards,
RikardJune 10, 2020 at 8:00 am #1221077Hi Rikard,
Yes, of course if I have a tab open, and then make a change in the back end in another tab, and come back to the open tab, naturally I’ll need to refresh the page to see the update. This is not the present issue I have.
The problem I have is that if I make a change (any change, e.g. menu, static page content, etc.) in the back end, and then say if I close my browser completely, the next time I open my browser and check my site, the update doesn’t appear at all (and I then have to refresh the page to see it). This is also the case if I make a change in the back end, and then check my site from another computer, opening any browser afresh, then again, the update doesn’t appear unless we refresh the page.
I will look into your suggestions but I hope you understand the issue.
Thanks
StephanieJune 10, 2020 at 8:33 am #1221089With Enfold under the Performance Tab, did you turn the merging on? ( File Compression )
I recommend – as long as you are working on the site – to disable this merging completely. Merging does provide better performance, but it is a hindrance for this very reason.
Below these settings you will find the switch : “Delete old CSS and JS files?” which should also be set to on.These merged files will stay there until you save them with the setting “Delete old CSS and JS files? These files are usually used for rendering your page.
of course this does not explain why content is also delayed.
June 10, 2020 at 8:34 am #1221090Hi again Rikard,
Further to my previous message above, I have just noticed something that I hope will help identifying the issue.
What I have just noticed is that, when I make a change in the back end, then save the change as normal (i.e. click on ‘Update’ for a static page) and then click on the “view page” button at the top, instead of showing the updated version of the page, the page displayed is the old version. This shouldn’t happen, I should be able to see the updated version of the page.
I have also noticed that the “preview change” button works as normal – it shows the changes on the page, before I click on “Update” and also after.
Hope it helps.
StephanieJune 10, 2020 at 8:44 am #1221092to emphasize again what was just added above: of course this does not explain why content is also delayed.
so there must be something more messed up.
What about the php memory limit that WordPress is allowed to use?
Is it set high enough?you can easily check it on the layerslider tab : Options : Systemstatus
June 10, 2020 at 8:45 am #1221093Hi Guenni007,
Thanks for your suggestions. The merging was already off, and I have switched the “Delete old CSS and JS files” on, but it doesn’t seem to make a difference.
Thanks anyway, much appreciated.
StephanieJune 10, 2020 at 8:56 am #1221099Look again at my article before, we seem to have posted it here almost simultaneously.
But you do not have a caching tool like W3TC or Total Cache running.
Not that we would leave out something so mundane in the search for solutions. Because they just save static pages to be able to deliver them faster.June 10, 2020 at 8:56 am #1221100Hi again Guenni007,
The php memory limit is 256M. Is this enough? I’ve never touched any of those settings as it’s way beyond my technical knowledge, so the whole set up is as it’s always been, unless some changes were made with the latest WP or Enfold update? (again, that’s above my technical knowledge I’m afraid.)
Thanks again
StephanieJune 10, 2020 at 9:02 am #1221105Yes sorry our messages keep crossing :)
I don’t have any of these plugins but I’ve noticed that I have a cache tool provided by my hosting provider SiteGround. It’s just a button at the very top that says “purge SG Cache”, and I did purge it but it made no difference.
June 10, 2020 at 9:02 am #1221106on some hosters we had recognized that it is sometimes limited to 40M – and that is definitly not enough.
i have 256 too and that is enough.Do you use a CDN ?
June 10, 2020 at 9:08 am #1221110But that maybe the issue: https://www.siteground.com/tutorials/wordpress/sg-optimizer/supercacher/
maybe this helps you : https://wpshout.com/quick-guides/how-to-clear-your-siteground-cache/
Caches are a great performance benefit for your site, but them getting “stale” or outdated is a bit bummer. Fortunately, it’s simple to clear the SiteGround cache of your WordPress website, and you’ll get into a rhythm with it quickly. Here’s a video guide …
- Press the “Purge SG Cache” button in your top admin bar. If you don’t see this button, you’ll need to install the SG Optimizer plugin. (You should also contact SiteGround support to make sure that you’ve actually enabled its caching layers.)
- To make sure the resources aren’t still being cached by your browser, hard-refresh your browser. You do this with Ctrl+Shift+R on Windows or Cmd+Shift+R on a Mac.
June 10, 2020 at 9:19 am #1221111Wow, thank you! I’m going to look into this. I’ll also contact my hosting provider in case there’s something else on their side that could explain the issue. I don’t know about the CDN, I need to look into this too and do some learning.
Not sure if it will explain the issue with the “view page” button that I described above, but I will definitely let you know.
June 10, 2020 at 9:24 am #1221114This of course does not explain why it is only now appearing.
The server-side caching is not bad in principle, but probably leads to such inconveniences.have you installed that: SG Optimizer plugin ?
maybe you try that first and see if the two listpoints will do the jobon That Plugin:
Manual Cache Purge
Pressing this button will completely clear the Dynamic Cache stored for your website. Useable, if you want to make sure that you’re loading the latest version of your site.And:
Automatic Cache Purge
Enabling this option will allow our plugin to clear parts of your cache once it detects changes in your content. We’ve developed a set of rules to purge the dynamic cache in a smart, efficient way depending on the change that has occured on your site. We do a full purge on events like category deletion, plugin and theme update or switch, WordPress core update, etc. On the other hand, we do smart purge when a post is modified, a comment is added or a category is updated for example.
June 10, 2020 at 9:33 am #1221115So if you can manage this – I would recommend that you don’t activate any other caching tool (or Enfold Merging).
See the whole tutorial on: https://www.siteground.com/tutorials/wordpress/sg-optimizer/
June 11, 2020 at 5:50 am #1221514Hi,
Thanks for helping out @guenni007, please let us know if you should need any further help on the topic @sunshine135789.
I would recommend that you look into the caching solution provided by your host and see if you can turn it off for testing purposes. Also please try loading your site in incognito/private windows to avoid any local cache.
Best regards,
RikardJune 11, 2020 at 11:50 am #1221632Hi Rikard,
I have spoken to my hosting provider and we have looked into this ; it doesn’t seem to come from their end, but they suggest it could be an issue with the network/router cache. I’ll check this as soon as I can, later today (UK time). I’ll try the incognito/private windows too, thanks for the suggestion. Please keep this thread open for now.
@Guenni007, thanks a lot for the links, really appreciate your help.
Best regards
Stephanie- This reply was modified 4 years, 5 months ago by Sunshine135789.
June 12, 2020 at 6:27 am #1221949Hi Stephanie,
It could be network cache, but it’s more likely that it’s local or from your caching plugins. Anyway, we’ll keep this thread open for you in case you should need any further help from us.
Best regards,
RikardJuly 6, 2020 at 5:34 pm #1228333Hi Rikard,
Just a quick message to thank you and @Guenni007 again for your help, and to let you know that finally, after a month of headache not being able to find a solution that worked, the issue has now vanished, like it came, out of the blue!!
Please feel free to close this thread.
Best regards,
StephanieJuly 7, 2020 at 12:28 am #1228409Hi,
I’m glad to hear this was resolved. If you need additional help, please let us know here in forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Need to refresh pages every time I modify something on my website’ is closed to new replies.