blakespot
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST Cache] GET /wp-json/oembed… not cached – can it be?Many thanks! I just removed the code you gave me and it still caches great. I’ve spread the word on Masto and Twitter.
Forum: Plugins
In reply to: [WP REST Cache] GET /wp-json/oembed… not cached – can it be?( And here is a sample of the access logs during the incoming Mastodon requests before the code was put in place — note the higher number of oembed requests, which presumable are repeats after a 500 response, earlier.
Update: And here is a proper text file showing another snippet of the access logs with the code in place and WP Supercache now in mod_rewrite mode. )
- This reply was modified 3 years, 5 months ago by blakespot.
Forum: Plugins
In reply to: [WP REST Cache] GET /wp-json/oembed… not cached – can it be?Thank you for this code and the plan to make this a standard cached endpoint in a future version.
I gave this a test and it does help alleviate my load issue. There are far fewer oembed requests (presumably failed requests due to load, previously, were repeated with frequency) and the load was noticeably lower. I see the stats for this in the Endpoint API Caches tab for the plug-in.
Here is a sample of the access log as I was being hit by the Mastodon instances after the above code was added.
Masto instances are still hammering the server for the direct link, and I do have W3 Supercache installed, but it is not in the most effective mode, it’s redirect mode — I will need to look into switching to that mode, but that’s nothing to do with this thread.
Thanks again!
@lastsplash I’ve tried WP REST Cache as I mentioned. Some have suggested this predates the REST API and that REST caches won’t solve this. I’m just surprised no solution has emerged.
Apparently, it’s been noted for some time. Just one post about it,
https://www.jwz.org/blog/2022/11/mastodon-stampede/
bp
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] New Version is hereThanks. I saw that error and made that change…and it still didn’t work for me. My theme broke, but when I turn off the plug-in, things are back in order. Strange. I will play with it more tonight.
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] New Version is hereAhh. Well, here is what I have:
https://blakespot.com/files/alpine_phototile_for_flickr.zip
I’d love to be able to use it again.
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] New Version is hereOh… Well, I think I’m talking about the wrong plugin. I was using the Alpine Photo Tiles that pulls from Flickr. Will that get an update? Thanks.
Forum: Plugins
In reply to: [Alpine Photo Tile for Instagram] New Version is hereThank you for this. I just updated my sited from PHP 5.x to 7.3 and saw this break my site. Wanted to keep using it, and here it’s just been updated. Lovely. That Github link seems dead though…
bp
Forum: Plugins
In reply to: [ReOrder Posts within Categories] Plugin broken since latest WP update 4.1.1It would be great to see this fixed. This is the only plug-in that met our needs to get a curated category listing in template (that was achieved with added query filters, I can share if I’m asked).
Thanks.