mevivekch
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteThen how I am supposed to serve my website via CDN?
LiteSpeed Cache and Hostinger have partnered with each other and they are supposed to work together. How came there be a compatiblility issue between them?
Do you have any other sample website where a website is hosted on Hostinger and LiteSpeed Cache is working fine with Hostinger CDN?
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteIt’s their final reply. They are repeatedly saying that both LiteSpeed Cache and Hostinger CDN is working fine together. I want you to know that if I enable Development mode on Hostinger CDN, then x-litespeed-cache starts to show up in the headers.
Since Hostinger and LiteSpeed are partners together, these two must be compatible with each other. How I am supposed tp fix this issue if neither end is providing any solution.
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteThat’s what I am trying to understand. x-litespeed-cache isn’t showing in headers because of Hostinger CDN. Does this mean that LiteSpeed is caching my web pages fine? Or is it not working?
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteYes, it is on LiteSpeed WebServer. So do you mean that I should disable Hostinger CDN if I want to use LiteSpeed Cache? I actually want CDN to delivery the web pages faster to my visitors around the world. And for caching purpose, I need your LiteSpeed Cache plugin.
In further communication with Hostinger Support, I got this reponse from them:
Litespeed is a WordPress caching plugin that can work together with your CDN. Both Litespeed and CDN will cache your resources. CDN purpose is to server the cached resources of your website from Edge servers and it is commonly advantageous for visitors that are away from your origin server.
However, both are caching and improving your website’s performance. CDN caches your website’s content on it’s Edge server to server it faster while Litespeed plugin is caching your website’s content as well before it reached the CDN. It’s related to your WordPress website’s cache instead.
As mentioned, the headers do not indicate that Litespeed is not enabled. You will see Litespeed headers once CDN is disabled as we are using Litespeed web servers technology. That is not related to the plugin.
- This reply was modified 2 years, 2 months ago by mevivekch.
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteThis is the response I have got from the Hostinger Support: “There is really not compatibility issue; website caching can only use 1, it cannot be both. You can still activate LiteSpeed, it does still improve overall however it will first serve through the Hostinger CDN.”
Is is possible that the Hostinger CDN is serving a cache page created by the LiteSpeed Cache while the headers are not displaying LiteSpeed? I mean to say that Hostinger CDN is masking LiteSpeed Cache but LiteSpeed is working fine in the background. Is it possible? Thanks for your continued support.
Forum: Plugins
In reply to: [LiteSpeed Cache] LSCache not supported – LiteSpeed not caching my websiteHello again,
When I check the source code of a web page, it shows “– Page cached by LiteSpeed Cache 6.1 on 2024-03-25 11:38:18 –“ at the end. Does this confirm that the LiteSpeed Cache is working properly even if X LiteSpeed cache isn’t mentioned in the headers?
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed Cache causing CLS issue with Astra themeHi everyone,
I fixed this issue on Astra by adding the following CSS code in the Customizer.
@media screen and (min-width: 921px){.ast-header-break-point .main-navigation{display:none;}#ast-mobile-header{display:none!important;}}Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed Cache causing CLS issue with Astra themeI have created a ticket. Please investigate further and help me find a solution. Thanks in advance.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed Cache causing CLS issue with Astra themeI already did that once. But no luck.
I think this particular CLS issue is being caused by the Astra CSS: https://www.geekinstructor.com/wp-content/themes/astra/assets/css/minified/frontend.min.css?ver=3.9.2
Please check this screenshot: https://www.geekinstructor.com/wp-content/uploads/2022/11/astra-header-cls.png
Before the full web page is loaded, the theme blinks the desktop primary menu in vertical mode (as you can see in the screenshot). After full loading, it changes to normal. This desktop header primary menu is causing the CLS issue by shifting the layout.
Surprisingly, it only happens when the LiteSpeed Cache is activated. When I purge the page, the header menus loads perfect without any layout shifting. Does the plugin affect this CSS or any other JavaScript in the theme in any way?
Please look at this issue from this point of view.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed Cache causing CLS issue with Astra themeThanks for the correction. This problem happens only with the desktop version.
Here’s the report number: SFGRYLEV
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed Cache causing CLS issue with Astra themeThe CLS is way too high up to 0.47
Where did you checked it?
Maybe the page was purged when you checked.
Please check again in PageSpeed Insights and Gtmatrix.Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed caching pages at the page load time everytimeBut on my end, it always shows the current time whenever I fresh the page. Yes, I am logged into my WordPress account. I have also tried it in an incognito tab but unluckily it is the same.
Sometimes the page gets cached for a limited period but then again shows the current time. Even when I don’t purge pages manually or do any other action that purge them automatically.
Also, I haven’t changed the TTL settings, so the page should be cached up to its default period which is 1 week. But this doesn’t happen.
- This reply was modified 3 years, 7 months ago by mevivekch.
Hi Herman,
Thanks for your help. Here I am posting the solution for other users as well.
This type of menu structure can be achieved using the old Header/Footer, not Astra Header Footer Builder. The option to use the old Header/Footer is available only for the users prior Astra v3.0. If you install the Astra theme since or after v3.0 then you need to add the following snippet in order to use the old Header/Footer.
add_filter( ‘astra_is_header_footer_builder_active’, ‘__return_false’ );
Please create a proper backup before adding the snippet above to your site. Just in case. Or maybe it would be better if you can do it on a staging site environment instead of doing it directly on your live production site.`