r/elementor • • 13d ago

Problem Preview function won’t show changes

Looking for any help/advice for a problem I can't seem to solve.

When I update pages on my site, the 'preview changes' function doesn't reflect the changes. Once I hit publish, however, the changes are updated on the live version of the site, but the preview view will not show my edits.

Things Ive tried:

• Clearing hosting cache

• Clearing CSS cache and syncing library

• Updating all plugins, ruling out conflicting plugins

• Enabling Switch Editor Loader Method

• Changing CSS Print Method

• Disabling Element Cache

Other people who have edit access to the site are also experiencing this problem, so I know it's not a personal browser issue.

Any insights are appreciated, thank you! 🙁

1 Upvotes

4 comments sorted by

•

u/AutoModerator 13d ago

Looking for Elementor plugin, theme, or web hosting recommendations?

Check out our Megathread of Recommendations for a curated list of options that work seamlessly with Elementor.


Hey there, /u/Capable_Investment56! If your post has not already been flaired, please add one now. And please don't forget to write "Answered" under your post once your question/problem has been solved. Make sure to list if you're using Elementor Free (or) Pro and what theme you're using.

Reminder: If you have a problem or question, please make sure to post a link to your issue so users can help you.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/sanbamboo 13d ago

Since publishing works fine, I don't think this is a CSS thing, it sounds more like the preview request itself is the problem. On a page that's already live, the preview shows the autosave that gets created when you hit Preview Changes, so there are really only two places it can go wrong.

First, check whether the autosave is even being created. Hit Preview Changes, then open the History panel in the editor and look at the Revisions tab. If there's no fresh autosave at the top, the save is failing quietly, and a security plugin or the host's firewall blocking the request is the usual suspect. You'd see it as a failed request in the Network tab of your browser's dev tools.

If the autosave is there, then something in front of WordPress is handing you the cached live page. Open the preview with dev tools open and look at the response headers of the page. Something like cf-cache-status: HIT or an x-cache HIT means Cloudflare or the host's CDN is ignoring the preview URL. Purging won't fix that for long, you need a rule on that layer that bypasses cache for logged-in users or preview URLs.

Given that everyone with edit access sees it, I'd bet on the second one, especially if there's Cloudflare or a host CDN in the mix.

0

u/TopSydeWP 13d ago

Since publish works and every editor sees the old version in preview, look at whatever caches in front of WordPress. Preview loads the page with ?preview_id= and preview_nonce= on the end. A Cloudflare "Cache Everything" rule, or a host cache that ignores query strings or caches logged-in users, will serve the cached live page for that URL.

To confirm, open the preview tab, then dev tools, Network, and reload. A cf-cache-status or x-cache value of HIT on the preview means a cache answered it. When we see previews stuck on the published version, that cache rule is where we look first, and logged-in editors should skip it entirely.