Leo Skull :verified: · @leoskull
31 followers · 33 posts · Server wp-punks.social

LiteSpeed statt Nginx/Apache

Die meisten WordPress-Websites werden mit Nginx, Apache oder eine Kombination aus beiden angetrieben. Jede Lösung hat ihre eigenen Vor- und Nachteile. Der größte Vorteil von Apache ist die Flexibilität: Durch spezielle Dateien im Webverzeichnis - du hast sicher schon von den .htaccess-Dateien gehört - können f…

leo-skull.de/litespeed-statt-n

#LeoSkullIntern #technik #apache #litespeedwebserver #nginx #openlitespeed #performance

Last updated 2 years ago

HECHT INS GEFECHT · @hig
64 followers · 49 posts · Server social.hechtinsgefecht.de

...und damits hier nicht ganz so leer aussieht, direkt mal eine Umfrage. Gern teilen.

Auf welchen Webserver setzt ihr?

#web #webserver #linux #nginx #apache #openlitespeed #seo #webdesign #agency #agentur #wordpress #poll

Last updated 2 years ago

Tim Nolte · @tim
318 followers · 1654 posts · Server mastodon.timnolte.com

@The_KamikaZEN have you contacted support at all. Do they support a `.htaccess` file in the `.well-known` directory? What web server software are they using? If they have have any special server rules/restrictions setup for that path that might be the problem. This is unfortunately one of the reasons why getting the plugin working on all sites is such a challenge. This needs hosting provider support.

@letsencrypt

#dreamhost #nginx #apache #litespeed #openlitespeed #activitypub #WordPress

Last updated 2 years ago

Tim Nolte · @tim
312 followers · 1573 posts · Server mastodon.timnolte.com

@tomfinley@wptoots.social actually, you are having the issue on your site with . I just visited your site via my web browser and I am getting JSON when I should be getting HTML.

I was having this same problem with my caching which I then managed to setup my OLS caching to be able to create a cached version based on the Accept header.

@jasontucker @alexstandiford @tomfinley@tomfinley.co

#cloudflare #WordPress #activitypub #openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
305 followers · 1492 posts · Server mastodon.timnolte.com

@ramsey question about PHP release announcements. I'm noticing that 8.0 hasn't been getting release announcements only PHP 8.1 & 8.2. Is there a reason for this? I ask because I'm maintaining a image for that includes PHP. I'm trying to stay on top of keeping it up-to-date and so have setup notifications for myself by monitoring the PHP release announcements. Thanks!

news-web.php.net/php.announce

#php #docker #openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
306 followers · 1481 posts · Server mastodon.timnolte.com

@webaware to be very clear this is not a solution for the server caching. Using Rewrite rules to solve this follows exactly what they recommend on configuration. Additionally, there can be issues with the Accept header causing way too many duplicate copies of the same thing, because there can be Accept headers that are slightly different.

@chrisshaw @timnolte @jasontucker @dustinrue

#openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
306 followers · 1481 posts · Server mastodon.timnolte.com

@chrisshaw @timnolte so I just cleared the cache for my author page so it is at least loading as HTML for normal web users.

As for there are some known issues with that also and using the plugin. @jasontucker @dustinrue have both worked with that setup. I am currently moving all of my DNS to Cloudflare but sort of prefer to leverage the OpenLiteSpeed web server caching. Looks like I still have some work to do in that regard.

#openlitespeed #cloudflare #activitypub

Last updated 2 years ago

Tim Nolte · @tim
306 followers · 1481 posts · Server mastodon.timnolte.com

@chrisshaw @timnolte oh, so interesting, I am seeing that for some reason my caching is still not handling my author page correctly. It cached my author page as instead of . Blah, this is one of the major issues with the plugin is proper cache handling.

#openlitespeed #json #html #WordPress #activitypub

Last updated 2 years ago

Tim Nolte · @tim
301 followers · 1426 posts · Server mastodon.timnolte.com

@glecharles @jasontucker my site is working @timnolte which is the same as this timnolte.com/author/timnolte/ but, crap...I thought my caching fix for was working but I'm seeing instead of in my browser. 🤦

#openlitespeed #json #html

Last updated 2 years ago

Tim Nolte · @tim
291 followers · 1286 posts · Server mastodon.timnolte.com

@webaware @pfefferle Even the Fastly article I shared indicates that a simple rule that uses an explicit value for the the "Accept" header would create too many different and unnecessary cached versions. So in the case of the server the "Vary: Accept" header is actually useless because it doesn't support creating different cached versions based on it. And it also doesn't help when the request doesn't have it either.

2/2

#openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
291 followers · 1267 posts · Server mastodon.timnolte.com

@webaware @pfefferle I will have to do some testing to confirm whether honors the "Accept: Vary" header.

#openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
291 followers · 1267 posts · Server mastodon.timnolte.com

@webaware so I'm not clear on what you are suggesting. Updating any plugin with that headser isn't going to control how the cache is created. The OLS web server documentation indicates that you need to use the "Cache-Control: vary=" Rewrite to create separate caches, like when you have a multilingual site for example. Also, as @pfefferle points out that "Vary: Accept" headset would actually have to come or other sources.

#openlitespeed #mastodon #activitypub

Last updated 2 years ago

Tim Nolte · @tim
289 followers · 1251 posts · Server mastodon.timnolte.com

So the solution for caching is to use this in order to have 2 different caches for the same endpoint.

ActivityPub Cache Handling
<IfModule LiteSpeed>
RewriteEngine On
CacheLookup on
RewriteCond %{HTTP_ACCEPT} ^application\/activity\+json$
RewriteRule .* – [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+activitypub]
</IfModule>
ActivityPub Cache Handling

2/2

#openlitespeed #begin #end

Last updated 2 years ago

Tim Nolte · @tim
289 followers · 1250 posts · Server mastodon.timnolte.com

OK, so I'm not sure about a broader solution. However, I have finally figured out how to properly cache HTML & Activity+JSON requests with & the plugin for . It is possible that this might be usable for an setup using my original redirect method.

1/2

#openlitespeed #activitypub #WordPress #apache

Last updated 2 years ago

Tim Nolte · @tim
288 followers · 1232 posts · Server mastodon.timnolte.com

OK, so for people using the plugin from @pfefferle and are using caching that causes problems with return to web visitor, instead of , or HTML to ActivityPub requests instead of JSON, I think I have a working solution. I have just finally got around to testing my theory on my server by leveraging a Rewrite Rule. I haven't fully confirmed if the requests are being cached.

1/2

#activitypub #WordPress #json #html #openlitespeed

Last updated 2 years ago

Tim Nolte · @tim
280 followers · 1183 posts · Server mastodon.timnolte.com

So what are projects doing to serve up images? I just got a stupid email from Docker that states that I now have to pay them to host my free image for that I've spent months on tuning and supporting. I'm really starting to hate Docker. 💩

#foss #docker #openlitespeed #arm64

Last updated 2 years ago

Tim Nolte · @tim
259 followers · 992 posts · Server mastodon.timnolte.com

@imrehg yeah, so this is a widespread problem with just about all caching, especially for WordPress sites. @jasontucker had some major problems when using in front of his site. I have odd issues as well with caching in front of my site.

#cloudflare #WordPress #openlitespeed

Last updated 3 years ago

Tim Nolte · @tim
250 followers · 974 posts · Server mastodon.timnolte.com

@andyfragen @ru I think the thing for me that is a hard sell is that SpinupWP is just a layer on top of a cloud hosting providers, like . I can already spin up a 1-click with droplet with little effort and cut out the extra cost, this would be at the Personal level. For my personal stuff I just can't justify spending $40/mo on top of VPS costs of $15+/mo for full support/management.

#digitalocean #cyberpanel #openlitespeed

Last updated 3 years ago

Tim Nolte · @tim
250 followers · 974 posts · Server mastodon.timnolte.com

@alexstandiford I'm currently in the process of migrating my current droplet setup over to a container-based setup on the Infrastructure free tier, all running on . Sort of got into the weeds as I ended up building my own image that can run on arm64. I'm on the fence on whether I really like the setup or not. It's not 1-click simple, so I may look at figuring out a solution to that. It seems with nothing is every 1-click.

#digitalocean #oraclecloud #arm64 #openlitespeed #docker #containers

Last updated 3 years ago

Tim Nolte · @tim
250 followers · 974 posts · Server mastodon.timnolte.com

@jasontucker @tomfinley so on the IndieWeb Slack @pfefferle mentioned:

"There is already a possibility to show the json by adding „/activitypub“ behind every author, post or page URL. For example notiz.blog/2022/11/14/the-at-p Maybe you can redirect to this page!"

I'm going to try to setup a rewrite rule on my server and see if that makes a difference or not. I'm not sure that it is even something that can be done with Cloudflare though.

#openlitespeed

Last updated 3 years ago