LiteSpeed Cache for XF2 - Community

LiteSpeed Cache for XF2 - Community 2.3.0

No permission to download
Not sure I got what you said. Do you mean not using Google for page speed testing?
There are three things being flagged in the screenshot; lack of compression, lack of deferred Javascript, and remote Javascript (not necessarily flagged, but it performs slower than local files).

There isn't anything XF or LiteSpeed can do to fix using remote files.
 
Hello everyone,

It looks like my CSRF work is going to have remain paused for a few more days while I continue to work through a new mountain of time sensitive work that always seems to appear whenever I am in the middle of any tricky XF plugin changes 😅.

My intention is to get back to this ASAP but I figured that an update on the situation would be nice for those actively waiting.

Regards,
-Michael
 
Thanks, Michael. (y)

So if I clear the cache on WordPress, does it happen the same?
If you clear that directory then yes, any WordPress sites for that user would also have their cache files removed resulting in a cache miss the next time someone visits the site and hits the backend server.

If you are using a CDN like QUIC.cloud with WordPress, this would not affect any pages that are cached on those CDN servers, so you may still see a cache hit in those cases.

Additionally, in case I misunderstood your question, I don't think that clearing the cache through our WordPress plugin will have an effect on XenForo cached files.

Regards,
-Michael
 
It should work with 2.3 without issue. Harder to say for 3.x until I can get some hands on time with it.

This doesn't seem to be working for me on 2.3 final release.
Any chance for some clarification on the matter?

Works fine on my end (stage-testing copy, but the same setup as the production).
Note that the LiteSpeed Cache for XF2 is the only plugin/add-on that I'm using (i.e. maybe there is a conflict with some other plugin/add-on that you might be using).

Relja CacheHit Novović
 
I was told by my host when I first started using litespeed cache that the provided text needed to be inserted into the .htaccess file.

Code:
# LiteSpeed XenForo cache
<IfModule litespeed>
    CacheLookup public on
    RewriteEngine On
    # cache
    RewriteCond %{HTTP_COOKIE} !(xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteCond %{REQUEST_URI} !/install/ [NC]
    RewriteRule .* - [E=Cache-Control:max-age=360,E="cache-vary:xf_style_id,xf_language_id"]
    # no cache
    RewriteCond %{HTTP_COOKIE} (xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteRule .* - [E=Cache-Control:vary=loggedin,E=Cache-Control:no-cache]
</IfModule>

Also I was using the litespeed cache plugin without any issues until the upgrade to the final release and it quit working.
I uninstalled the plugin and now it works according to https://check.lscache.io.

My question is do I really need the plugin while I have the above text in the .htaccess file and it shows it working without the plugin installed?
 
I am also in the boat of not knowing what to do, having upgraded to XF 2.3. I have my litespeed plugin disabled, so does this mean my forum is not benefitting from my pricey litespeed fees?
 
Back
Top Bottom