简体   繁体   English

如何在不按 CTRL + F5 的情况下使 Elementor 更改可见?

[英]How do you make Elementor changes visible without pressing CTRL + F5?

I'm currently using WordPress with Elementor to build a new website.我目前正在使用 WordPress 和 Elementor 来构建一个新网站。 I'm creating the website in Chrome, and viewing the website in Firefox.我正在 Chrome 中创建网站,并在 Firefox 中查看该网站。

When I make changes in Elementor in Chrome, and update/publish the changes, I have to press CTRL+F5 in Firefox to see the changes.当我在 Chrome 中的 Elementor 中进行更改并更新/发布更改时,我必须在 Firefox 中按 CTRL+F5 才能查看更改。

So Elementor must be updating a CSS file, with the same filename.因此 Elementor 必须更新具有相同文件名的 CSS 文件。

What can I do to ensure my Elementor changes are visible to everyone, without them having to press CTRL+F5 (force refresh) to see the changes?我该怎么做才能确保我的 Elementor 更改对所有人可见,而他们不必按 CTRL+F5(强制刷新)来查看更改?

Many thanks非常感谢

In this case, you shoud go to Elementor ->Tools->Update CSS/Style (something like that).在这种情况下,您应该转到 Elementor ->Tools->Update CSS/Style(类似的)。 If you are using a caching plugin, make sure to "clear the cache" too.如果您正在使用缓存插件,请确保也“清除缓存”。

Try to change the cache duration in .htacces尝试更改 .htacces 中的缓存持续时间

But I would recommend deactivating this setting after development.但我建议在开发后停用此设置。 Otherwise this can have negative consequences for your SEO (PageSpeed).否则这会对您的 SEO (PageSpeed) 产生负面影响。

# BEGIN Browser Cache
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access plus 300 seconds"

</IfModule>
# END Browser Cache

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 按下CTRL + F5后应用CSS,但是在下一个动作上没有,直到我再次按CTRL + F5 - CSS applies after pressing CTRL + F5, but on next action it doesn't, until I press CTRL + F5 again 当按ctrl和+时,如何防止Firefox放大? - How do you prevent firefox from zooming in when pressing ctrl and +? Ctrl + F5导致页面跳转,但F5不会 - Ctrl + F5 causes page to jump around but F5 does not CSS最初不加载,不按刷新(F5或CTRL F5)加载,但按Link Click加载(有时) - CSS Not Loading initially, Doesn't Load on Refresh (F5 or CTRL F5), but loads on Link Click (Occasionally) 如何使 Ctrl-f 始终在 Tabulator Plus 有关分页和高度的问题中工作? - How Do I Make Ctrl-f Always Work in Tabulator Plus Questions on Pagination and Height? 如何使我的 HTML 可通过浏览器 Ctrl-F 搜索并使用绝对文本定位? - How Do I make my HTML searchable by a browser Ctrl-F and use absolute text positioning? 在没有桌子的情况下,如何制作这种样式? - How do you make this style without table? 如何使图像可通过 Ctrl+F 搜索 - How to make images searchable via Ctrl+F CSS建议,无需按ctrl + space键 - CSS proposals without pressing ctrl+space 如何使HTML工具提示在overflow:hidden父级中完全可见? - How do you make an HTML tooltip fully visible in an overflow:hidden parent?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM