since i’ve jumped from apache to open lite speed and started to use OLS cache i have problem with Elementor.
I’m creating something in elementor (can be block, page, post… doesn’t matter what) and save it (lets call it v.1). All works fine.
When i want to change something, i’m editing it in Elementor, make some changes (lets call it v.2), save it and … in front page i see no changes. So i’m reload (F5 or CRTL + F5) and i see page without changes (v.1).
I’m cleaning cache, browser – without success.
I’m taking a look in elementor page history and i see record with my changes (v.2). I click on it, restore changes and i see (v.2), so i save it.
On front page i can see v.2 but on Elementor after F5 / CTRL + F5 i still see v.1.
I suppose that somehow OLS cache is caching my editable pages/posts in backend and once it is cached it won’t show any changes. But it should works when i’m cleaning cache…
Did you had any experience with it?
— update
I see, that when i enable checkPublicCache (set to 1) the problem with Elementor occur:
When is disabled (set to 0) Elementor works fine.
I wonder why – Admin panel shouldn’t be cached so much, it’s rather private cache not public…
serve stale is off
Cleaning cache from wordpress not work, even disable cache from OLS plugin doesn’t works.
3
Answers
serve stale
was OFFrm -rf /usr/local/lsws/tmpdata/*
to clean all cachespurge CCSS
andpurge UCSS
in drop down menu , purge them bothReason:
it doesn’t matter to the checkPrivateCache nor checkPublicCache. It’s because you set the enableCache to
On
which will cache everything.enableCache:
Solution:
I’d recommend you set the cache module back to default value:
So the WordPress site will rely on the LSCache plugin to cache things correctly.
Very easy to fix that go to CSS Settings –> disable Generate UCSS and disable CCSS per URL