How do I troubleshoot caching - wordpress

I'm having an issue with the caching of a WordPress site. I am getting inconsistent displays of the site. I have changed my DNS server from my ISP to Google and the site has no chaching. I've viewed the site on a different ISP and it is still inconsistent. My browser cache is set at 0 and I'm using "?" in the URL. Is there any way to determine where the caching is originating? The site is on a budget shared hosting account.

Try a different web browser. That'll tell you if the cache is because of a plugin like W3 Total Cache or your browser's cache. Maybe try disabling all of your plugins and themes and see if that makes any difference. The DNS is very likely not going to make a lick of difference.

I would recommend using Firebug or Web-Kit Dev Tools for this.
You can more fully disable/enable browser cache conveniently
You can use the Net panel to see what is loading, how fast it is loading, and where it is loading from.

Related

Wordpress site is not updating

Whenever I update something in my website whether it's on pages, posts, categories, menus, or more then it's not showing the changed result on the site when I open the website from google search or incognito. But it shows the changes when I access it from the dashboard.
More, I already have cleared the server cache, browser cache, website cache as well as Cloudflare cache but still not working.
So, can anyone help me out to fix this issue?
Thanks.
This is a cache-related issue. If you have used any caching plugin (WP-Rocket, W3 total cache, LiteSpeed, etc), you have to clear the cache from that plugin. You can use VPN & try a different browser to get the latest updates.
You can check instant results from different servers here:
Proxy Site

How do I optimize the speed of my Wordpress, Elementor, and WooCommerce website on Litespeed server?

I'm trying to optimize a website (gntac.com) but not sure how to proceed further. It's hosted on Litespeed server and I'm using the Litespeed Cache Plugin for Wordpress. I have enabled webp images, combined and minified javascript, minified css, and enabled quick.cloud CDN. I'm also using Modernizr for webp replacement in css but Insights doesn't seem to recognize the change.
There are also a lot of DOM elements (presumably due to Elementor). Some of the theme elements are hidden with css on mobile. I tried to use Mobile_Detect to only load those elements for desktop but the cache seems to be static and is either generated for mobile OR desktop but not both so the Mobile_Detect code is useless. None of this seems to have made any difference in Pagespeed Insights with tests still at around 11 for mobile and 42 for desktop.
Could anyone please provide some pointers on where to go from here? I know a little web development and SEO/optimization but this is beyond me at the moment.
You can try to deactivate the cache, do the Lighthouse Check again, try to get ride of the unused script and styles and activate the cache tool again.
You should combine your css to, not only js.
The Front Page is well cached, but te product are loading up to 6 secs - which is way to long. Maybe yout server is to slow and you should upgrade.
Webpage speed optimization is an art itself. On advanced levels, we look into every piece of code for optimization.
At the beginner level, I would suggest you to use Cloudflare CDN (Free Subscription) and configure Cache and Speed settings.
Second, instead of using PageSpeed Insights, use Solarwinds Pingdom to check the speed of the website.
Third, make sure that all the unnecessary plugins and themes are deleted. Clean up as much as you can. WordPress themes are the usual culprit of a slow website, use the lightest possible theme which is regularly updated and optimized.
Make sure to address Render Blocking Elements (inline critical elements or deffer) and Server Response Time (better web hosting).

Caching on wordpress and pagebuilders

I am building a website and I am always having issues with development because of caching.
We are using Siteground with the SG Optimizer plugin active, we are using Elementor as page builder, we are using Sucuri who is also caching.
Does anyone knows what do I need to do to be able to see my website as it is, instead of the caching versions ? Many times I click on purge cache on Wordpress, or I go to Siteground to remove Memcache but is like I can't never see the changes i made on elementor in live.
Any help about how to avoir this kind of issues would be great !
Thanks!
Turn off the cache while developing.
Caching is only beneficial once in production.

Problem with cache, plugin Litespeed, server Litespeed and optimization

I have been using the wordpress Litespeed plugin on my site Trailer y Estrenos CO. I have the Chemicloud hosting and it uses the Litespeed server, which according to them, it works super well if is used with the plugin of the same name.
On top of that, you started using Cloudflare and I integrated it into the Litespeed plugin.
My problem is the following:
When I measure how optimized the page is after having installed everything mentioned, in GTmetrix at the beginning it gives me a statistic of the B and C range, but soon after in another scan they lower me to C and D.
In the Litespeed plugin I have DNS Prefetch configured and in the first scan of range B and C the DNS Prefetch configuration works as it is, but in the others scans later that go down to ranges C and D, it seems that the DNS Prefetch does not work, since it shows me those external DNS errors.
I don't know if it's my ideas, but it seems that the Litespeed plugin didn't do its job well, although it could be other things.
Should I use another cache plugin? I know that the WP Rocket is very good but the detail is that it is paid.
Any suggestion or help?
Thank you
In the current report, Your scores are mainly dependent on your third-party resources. Everything that is loading from your domain(Litespeed) is pretty quick(Check the Waterfall section). If you expand the results which are causing these scores, you'll see the responsible ones.
Pagespeed Scores
Minimize Redirects is caused by resources from addthis.com,openx.com and soon.
Leverage Browser Caching is also by addthis, google and Facebook resources.
Serve Scaled Images is something to be done during the upload, or a plugin like Shortpixel Adaptive Images can help you.
YSlow Scores
Add Expires Headers is the same as Leverage Browser caching above.
Use a CDN is caused by the same Third-Party Resources.
Use Cookie-Free Subdomains is caused by Cloudflare, since it appends its Cookies on all requests, but if your server is far away from where your visitors are, the benefits of using Cloudflare overweighs the drawbacks.
Reduce DNS Lookups is again due to a lot of third-party resources, from multiple domains, DNS Prefetch can help the users resolve the DNS faster, but won't affect the scores.
Avoid URL Redirects is the same as Minimize Redirects above.
No Cache plugin can edit how third-party requests are being handled by the website, while they can defer the requests or load them after the actual page is loaded to improve user experience, it won't still affect the scores.
What should you do to fix these?
Figure out what you want to keep and remove the rest if not required.
Talk to your developer about storing these external files locally so that they can be optimized and controlled using Litespeed Cache or any other Cache Plugin.
For the Minimize Redirects, get in touch with the provider you're serving these resources from and ask them to improve this behavior.
I hope this helps!

Wordpress Running slowly

My wordpress site has suddenly started to run stupidly slowly and the only thing that has changed is the header of the site. I placed in a new photo slider and just moved the twitter feed. So i thought it would have something to do with this but the speed of the site is still slow when i disabled them both.
Which makes me think that it is a problem with wordpress or that i've taken something out of the header that i wasnt meant to.
link to the site: www.finderskeepersuk.com
Any help would be brilliant
Thanks
According to the Network tab on Chrome's inspector & Pingdom, the majority of your loading time is waiting for your server to respond. Could just be extra latency from accessing a UK host from the US, or your server might be overloaded with a zillion other sites.
Try tinkering around with the W3 Total Cache plugin, but if that doesn't help you might need to call your host, upgrade to a better server, or change hosts.
Also: You're loading jquery twice.

Resources