Hi @drgco123
inspecting elements I see these comments:
<!–
generated 25 seconds ago
generated in 0.410 seconds
served from batcache in 0.002 seconds
expires in 275 seconds
–>
So, it looks you have the cache, and it’s always the same because if I visit the page with a desktop or a mobile the comment is always the same.
When the cache expires, then it depends on the first visit if it’s a mobile or not so.
The fact that it’s wordpress.com should have no impact.
You should try to understand from where come batcache.
Here I found a plugin called batcache by Automattic: https://ww.wp.xz.cn/plugins/batcache/
Are you sure it’s not installed on your website?
If you don’t find it, have a look also to the mu-plugins.
I don’t know if with your wordpress.com package you can do it. If so, I suggest go to the page of plugins and check if you have any Must-use plugin and if you see something that looks like batcache, probably it’s what is generating the cache.
I hope it helps.
I was forgetting… Have also a look at the folder wp-content/ and check if you see a file called advanced-cache.php
Maybe the plugin batcache was installed and after removing it, the file advanced-cache.php was not removed.
If you are sure you have no plugins for cache, and you find the file advanced-cache.php in the folder wp-content, delete that file, and then be sure you don’t have define(‘WP_CACHE’, true); in wp-config.php.
After you are sure batcache is removed, advanced-cache.php is removed, and you don’t have define(‘WP_CACHE’, true); in wp-config.php, then you can install a plugin for cache that distinguish between desktop and mobile, as e.g. W3 Total Cache.
I know this is beyond the scope of the plugin but when I try to remove the advanced-cache.php file I get the error message “rm /htdocs/wp-content/advanced-cache.php: permission denied”. Alternatively it tells me “get attrs for /htdocs/wp-content/advanced-cache.php: no such file or directory” when I try and get into it.
I went into the wp-config file there was no (‘WP_CACHE’, true); line in there. I also tried manually adding a (‘WP_CACHE’, false); line as well to the same result.
Any chance you know the fix for this?
No problem.
So, wp-config.php is ok.
About advanced-cache.php, do you see that file with FTP but can’t delete it?
If so, check if you have the writing permissions on the folder wp-content.
Try also just to rename advanced-cache.php, e.g. no-advanced-cache.php.
Or maybe you don’t have any file advanced-cache.php?
What about batcache? Have you seen a plugin called batcache?
No sign of Batcache on there, went through both plugins and mu-plugins and no sign of it.
In regards to advanced-cache.php, it has 777 permissions but its not even letting me rename it, I appear to be completely locked out of it with no way of removing or editing it. Its very odd.
So, I think in the past the plugin batcache was installed. It wrote the file advanced-cache.php, and when it was removed, it didn’t delete the file advanced-cache.php.
This file confirms that theory:
https://plugins.trac.ww.wp.xz.cn/browser/batcache/tags/1.5/advanced-cache.php
Look at lines 314-317. It’s clear the comments visible inspecting elements come from that file from that plugin.
I suggest you ask the server support how to delete advanced-cache.php and the folder of the cache.
Another idea is installing again the plugin batcache and try to delete the cache using the plugin. Then deactivate it and delete it. But you should delete it in a conventional way not using FTP.
If nothing works, I suggest you ask Automattic, both for the problems related to the server and the plugin.
Hi @drgco123 I will close this thread for inactivity. If you have problems directly caused by SCFM don’t hesitate to open a new thread