T4ng
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Hi @vmarko,
Here is my page cache config page screenshot.
Can you please clarify why these 30 seconds?
Thank you
- This reply was modified 1 year, 4 months ago by T4ng. Reason: Adjust screenshot link
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Ok, understood.
Still, while being pertinent, this trick obviously seems to be an issue here, since serving that page when the newer one is too long to generate… get it in the cache, and served until next generation. Which might take a while.
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Hi @jamieburchell,
What you’re explaining here makes sense: if after clearing the W3TC page cache, the old html version is still served for 30 seconds, then there’s a good chance this leads to problems.
@jamieburchell , have you tryed remonvend this 30 seconds availability instruction from the code, to see if it makes any difference at all?
@vmarko we haven’t heard from you for a while on this topic, while your input could be really useful.
- Can you please explain why the HTML remains available for 30 seconds after clearing?
- Do you think, based on our finding, there’s a chance this is what causes this issue?
- If so, is there an option/solution/idea of a workaround, to suspend it?
- Maybe there’s something here, that’s worth a chat with Elementor?
Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Mmh, you’re right, we already checked that the issue occured with only the page cache enabled. So this might be cached somewhere else.
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?OK. Then, one thing that’d worth a try, would be to maintain Elementor’s CSS, which is obviously cleared along the object cache?
- This reply was modified 1 year, 4 months ago by T4ng.
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Mmh… To my understanding, this could mean that Elementor’s CSS is just not always generated in time after the deployment process. So that the pages sometime render without it. This coincides with what I observe when comparing a single page that’s broken, and the same after (succesfuly) clearing the page and reload it: the only difference is the Elementor CSS not being missing in the latter.
On the other hand, if the Elementor CSS is kept over the deployment process, then it’s already available for delivery when the page is called. So no issue.
What do you think?
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Hi @jamieburchell,
I’m not sure to understand what you suggest.
Do you ask if I can request Elementor’s CSS regeneration, during the deployment process?
With something like this?
- This reply was modified 1 year, 4 months ago by T4ng.
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Surprizing, indeed…
I have no idea what happens under the hood. Only @vmarko might know…
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?OK I see.
Please keep me posted with your findings 🙂
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Thanks for investigating further.
Interersting. I’ll ask our developer. But if there’s something to clear here on our side, I will check how the cache behaves when preloading the pages again. I’m afraid I get some more broken pages again (same as when I clear the cache).
One more question for you: sometimes (not always, of course…), when I face broken pages, another issue is that purging specific pages has no effect. So that I just can’t solve my broken pages, unless I purge ALL pages. But then I get other broken pages. Nightmare…
Do you also have this issue?
Forum: Developing with WordPress
In reply to: Maintain a classic child theme, or move to FSE theme?Hi @macmanx,
Thanks for your reply. We already started that custom block job, so will keep on this track.
However, I’d like to explore the possibilities to switch to a new theme, like twenty twenty four.
One precision though: when you say: “Twenty Twenty-Four ships with a ton of pre-done templates”, you are really talking about templates, and not blocks, right? Meaning templates are theme specific, while blocks are theme-agnostic?
Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Hi @vmarko ,
Does it help?
Are these feedbacks informative, or do they give you research directions?Forum: Plugins
In reply to: [W3 Total Cache] Missing stylesheets referenced in HTML – race condition?Can you tell more about the server setup under which you face this behavior?
We’ve already narrowed it to the use of W3TC’s page cache only (amongst W3TC caching options). And in my case, after a deployment.
Here are the steps of our CI/CD process. I think there’s something there since only our environments running this CI/CD face this broken pages issue. And in case it helps, these are both Plesk servers.
a. Server stop
- Activate maintenance mode
- Flush all W3TC caches (through wp-cli)
- Stop php-fpm daemon
- Flush php Opcache
- Clear nginx cache (which is used as reverse proxy for the assets
- Deploy the code changes (mostly plugin updates)
b. Server restart
- Clearing wp-cli cache
- Start php-fpm daemon
- Flush php Opcache again (just in case)
- Updating WordPress core database // wp-cli core update-db
- De-activate maintenant mode
- Adjust folder permissions and ownership
- Flushing W3TC caches again (just in case)
- Deleting Opache directory content
- Flush WordPress cache // wp cli cache flush
- Running pending WordPress Crons
Then W3 Total Cache starts preloading pages through a server cron job (instead of WP Cron, which is deactivated)
ps -eo pid,ppid,args | grep pgcache_prime | grep -v grep > /dev/null || (test -e /var/www/vhosts/[…]/wp-cli.sh && /var/www/vhosts/[…]/wp-cli.sh w3-total-cache pgcache_prime)Then we get Elementor broken pages after every deployment, both on our live website, and on an IP restricted staging environment (so no external trafic).
This never seem to happen when there’s no cache preload is disabled.
I’m afraid that there is no way to stop showing Ai notification from elemetnor except to deactivate AI feature from Elementor> Settings> Features
So should I consider it doesn’t work?
Any reason why there’s no Elementor AI sectin in the user settings?
Thank you.Hi,
Thanks for your answer. Unfortunately, no, it doesn’t help much.
I already turned off the AI Feature. Nonetheless, there are still AI features everywhere.
From the post edition page from the Elementor image edition menu From the text editor Finally, in my admin user settings page, I can’t find any Elementor AI section, while I’m an admin with all permissions granted:
Finally, what’s the difference between diabling the feature, and unticking this checkbox from the user profile.
Thank you.