Hi @atutrabajocoach,
From what I can understand, this is actually due to the cache, either the site cache (plugin), CloudFlare, and/or the browser cache. This has nothing to do with this plugin.
Anyway, why don’t you narrow this down by temporarily disable CloudFlare then do another observation. If this behavior is still happening, maybe you can try to reconfigure W3TC plugin or even totally disable it?
I hope it will help.
Kind regards,
Herman 😊
Hi herman.
Sorry for not answering you sooner.
But guess that. Exact. I was “fighting” with the W3TC guys.
Not lie. But yes, I was “nagging” about ANOTHER problem with W3TC but, related to the fact that, I don’t know why, it no longer loads the codes in my .htaccess like it did before.
That said and, with respect to what you mentioned.
1) In relation to…
…”As far as I can understand, this is actually due to the cache, be it the site cache (plugin), CloudFlare and/or the browser cache. This has nothing to do with this plugin”…
That is “partially” correct. Why? Simple… Because it ONLY happens with the header and footer built with your plugin!
And, if it were like you say, I would have OTHER problems with OTHER parts of my site. But not.
2) As for…
…”Anyway, why don’t you reduce this by temporarily disabling CloudFlare and then make another observation? If this behavior persists, perhaps you can try reconfiguring the W3TC plugin or even disabling it completely?”…
2.1) I ALREADY tried ALL of that.
2.2) I DON’T want to…”completely disable”… W3TC, well, has EXACTLY what my site needs.
And it is – precisely – one of its functionalities (the “Cache Preloading”), the “beginning and end” of the problem.
I explain to you:
As you surely know, caches are generated in a visitor’s browser, precisely the first time. time you visit the site.
But, what “Preload” does is create a kind of virtual cache so that, when someone visits the site for the first time. Once again, I will NOW serve you my static assets (images, etc.) “as if” I had already been on the site before.
Which makes the visitor “feel like” the site loads quickly.
To achieve that, it allows you to configure it to “preload” X pages (I have it set to 10) every Y time (in my case 10800 seconds, that is, about 3 hours).
Since the site has about 33 pages + 8 posts, this means that after about 12 hours (10c/3 hours x 4 “preloads”), it “preloaded” the ENTIRE site.
Ergo…
ALL pages/entries are “rebuilt” in the cache (10 at a time) every 3 hours.
The “problem” is that, if I make a change to a page/post and I do NOT realize to clear its cache, what I showed you when I started this ticket happens.
Obviously, when said page/entry is “touched”, both the header and the footer will be “reconstructed” in the cache and, consequently, the visitor will see the same PERFECT ones.
But what happens if it’s NOT your “turn” and I edited something and forgot to clear the caches? Well, that’s what I showed you in the screenshot.
Believe me, I ALREADY raised this with W3TC but they still DIDN’T find a solution.
Any other idea?
I await your comments.
From already thank you very much.
Greetings.
Hi @atutrabajocoach,
What I have inside my head right now is, what if you exclude the Header and Footer from being optimized / cached by W3TC? Maybe give the Elementor section of the Header and Footer with a unique ID or Class then exclude it on W3TC. Not sure if W3TC has a feature to exclude thing, but you can check.
Kind regards,
Herman 😊
Dear. First of all, thanks for responding (Despite the holiday, heh:).
Having said that.
I regret to inform you that what you thought DOES NOT work!
I explain to you:
Instead of using an ID or Class as you propose, I simply took ALL the pages that are generated with your plugin.
This is;
mysite/elementor-hf/header/
AND
mysite/elementor-hf/footer/
Because? Simple.
Because, every time the header and footer generated by your plugin are “disconfigured”, I simply go to “Clear cache” of both pages and sooo!
In truth, I have to:
1) Clear all caches
2) Clear the cache of a specific page/post
3) Clean the heather and footer
Anyway.
To help you in your analysis, I tell you what I did:
a) I included both pages in the box that W3TC has in the “Minify” section
AND IT DID NOT WORK!
b) Then I included them directly in “Exclude from cache” And it didn’t work either!
Ergo. The ONLY thing I can think of is to DIRECTLY exclude the .js and/or .css files that your plugin generates.
But this would leave me with MORE js and css files loading on every page or post on my site.
Any other idea?
I await your comments.
Greetings.
P.s: If you want I can send you the links to the js and css files of your plugin minified by W3TC.
Hi @atutrabajocoach,
Please consider reaching out to us using the contact form on this page, so we can take a look closer at this.
Kind regards,
Herman 😊
Ready.
I just sent you an email through the Form in question.
I await your comments.
Greetings.
Hi,
I noticed that one of our support agents has responded to your ticket. Please continue the conversation related to this issue using the ticket.
Kind regards,
Herman 😊