How Does Duda Deal With Browser Caching of CSS?
I'm just starting with Duda, but have been running into an issue: my site's CSS does not seem to be updated when I republish the site. I've been moving elements in my layout to different positions, changing margins, and doing other minor adjustments, but they are not reflected on the browser, even after publishing - although they look fine in the Duda Editor.
At first I thought it was a browser caching issue. So I closed the site in the browser, erased my history, emptied my cache, quit and re-opened the browser, and tried accessing the site again. No change. The old styles still being loaded… So I tried a different browser - one which had never visited the site before. Same thing: the old CSS, with the old styles (before my latest changes) are the ones being loaded. So it's not a local cache issue. The actual CSS being served by Duda's server (or CDN) is still the old one.
When does Duda update the CSS that is being served with our latest changes? Is there a process for 'refreshing' the CSS manually? Is there a trick?
Any guidance is truly appreciated, as I can see us running into very serious issues with clients because of this…
Best Answer
-
And I seem to have just fixed it somehow. So all this can be ignored ;)
I get it, somehow the 'default' font and the 'paragraph' font were set slightly differently in the backend. But it's enough that when you look at a blog page you can see the differences. I fixed it in the theme, then went through and highlighted all the different text locations and set them the same. It looks great in the backend, but not so great on the live site. I really don't want to have to rebuild the page from scratch to fix this, but I may have to.
Siteground has a great little clear server cache button in their interface that solves this on WP every time ;)
1
Answers
-
Having the exact same issue right now. A clear Duda cache in the backend would be cool to have.
1 -
From everything I have ever read about their Caching layers. I want to say its every two hours. Obviously, you can clear your browser cache yourself as well, but Duda wont do it automatically. @ScottyStrehlow may be able to get a Duda Tech guru to chime in and correct me. Sadly, that is all I got for ya. lol.
1