我的Wordpress在Google平台上使用LiteSpeed WebServer运行,下面是规范:
7.3
F 218
但是,在更新我的页面后,总是重新加载旧的页面缓存.。
我尝试了以下步骤:
disable / enable缓存在LiteSpeed Cache插件上进行。我可以看到通知,Purged all caches successfully.说
但仍然无法解决,旧页仍然显示。
有什么办法解决这个问题吗?
==Update:.htaccess
BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
### marker LOGIN COOKIE start ###
RewriteRule .? - [E="Cache-Vary:wp-postpass_07cx34bxfgxrbttrt56"]
### marker LOGIN COOKIE end ###
### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###
</IfModule>
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress发布于 2020-05-31 14:59:57
我也处于类似的情况下,但在我使用元素进行页面更改的时候。在进行更改、保存和关闭之后,更改之前的初始结果将显示代替新的更改,后来实现了,LiteSpeed缓存插件没有正常工作。为了检验这个,
一起工作。
最常见的问题是某个插件干扰了主题,您甚至不需要编辑.htaccess文件,但这是我的一份。希望它能帮上忙。
https://stackoverflow.com/questions/62115640
复制相似问题