boostxd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: [NSFW] How to correctly set nginx fastcgi_cache for logged in user?X-FastCGI-Cache for logged in user returns x-fastcgi-cache BYPASS. I added the rule as workaround, I mean rule to exclude wordpress_logged_in cookies from cache, because there would be issues with login session. In my situation there’s no really need to recompute same requests for ever user (independently if they are guests or users), there was suggested solution that combining WordPress login session cookies (wordpress_logged_in) in one cookie, for example cookie_memberships and change my fastcgi key to
“$scheme$request_method$host$request_uri$cookie_memberships”;
would probably solve the issue.Forum: Fixing WordPress
In reply to: [NSFW] How to correctly set nginx fastcgi_cache for logged in user?My fastcgi_cache settings:
fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:250m inactive=60m; fastcgi_cache_key "$scheme$request_method$host$request_uri";
location ~ \.php$ { ... fastcgi_cache MYAPP; fastcgi_cache_valid 200 301 302 15m; fastcgi_cache_use_stale error timeout updating invalid_header http_500 http_503; fastcgi_cache_min_uses 1; fastcgi_cache_lock on; fastcgi_cache_bypass $skip_cache; fastcgi_no_cache $skip_cache; add_header X-FastCGI-Cache $upstream_cache_status; }
Well, for the site I don’t need the server to recompute same requests everytime, for that reason the cache can have 15 min lifespan to save resources. It’d help me greatly if I could apply same strategy for logged in users. To help with performance my database is in another server, so basically in nginx server there’s no other resources hungry application besides ftp server (I use sometimes – it’s disabled).
Forum: Fixing WordPress
In reply to: Limiting Number of Post Revision causes HTTP 500Like I thought, increasing the number doesn’t change anything. I replaced number 2 with 3 – same issue. I don’t have much plugins installed (and activated) in my site, most of cases I’d rather code to add a desired functionality (I don’t trust plugins).
- This reply was modified 2 years, 5 months ago by boostxd.
Forum: Fixing WordPress
In reply to: Limiting Number of Post Revision causes HTTP 500I use
'
, BTW in previous comment I meant a number, instead of any number because I didn’t test with all range of numbers. I put a number greater than 1 (of course), but less than 5. If there is minimum value, I was using 2, I’ll try to increase to 3 (if that is the case).Forum: Fixing WordPress
In reply to: Limiting Number of Post Revision causes HTTP 500int
is integer data type. I only placed it there to demonstrate that any number I put there causes my server to return HTTP 500.Forum: Fixing WordPress
In reply to: [NSFW] How to ensure text remains visible during webfont loading?My ads have anti-adblock technologies embedded, but they are not aggressive – they are supposed to be evasive. But like I said that was probably a bug. Or your adblocker may have triggered that unusual behavior.
- This reply was modified 2 years, 5 months ago by boostxd.
Forum: Fixing WordPress
In reply to: [NSFW] How to ensure text remains visible during webfont loading?I have ads in my site, the ad network I’m using is Adsterra. That was probably social bar unit/type, it can be a little buggy sometimes for some users (in some countries).
Forum: Fixing WordPress
In reply to: [NSFW] How to ensure text remains visible during webfont loading?I think you gave me the wrong link, that link takes me to a site that has nothing to do with me. BTW, are you really sure you didn’t mistaken my site with some other?
Forum: Fixing WordPress
In reply to: [NSFW] How to ensure text remains visible during webfont loading?@sterndata What makes you think my site has/was virus/hacked?
Forum: Plugins
In reply to: [NSFW] [Yoast SEO] Yoast SEO doesn’t set up images in Link PreviewHi @mikes41720,
The separate
og:image
I added in source of my pages manually (or programmatically) because of the issue of missing images in link preview. I used to use .jpg or .png but in search console my UX score dropped down a little, so I had to replace with .webp. Well at least in most of my pages. I personally don’t like .wepb image types, but the problem is that google is forcing it upon us. So at least to boost a little in search rankings I have to use them.- This reply was modified 2 years, 6 months ago by boostxd.
Forum: Developing with WordPress
In reply to: [NSFW] How to add og:image tag to head of every page?Alright, I’ll do. Many Thanks!
- This reply was modified 2 years, 6 months ago by boostxd.
Forum: Developing with WordPress
In reply to: [NSFW] How to add og:image tag to head of every page?In the source page I see css inline tag after the end of meta tag property (same line), I kinda thought It’d be the cause why Telegram is unable to read image opengraph. But I guess it doesn’t have anything to do with that.
- This reply was modified 2 years, 6 months ago by boostxd.
Forum: Developing with WordPress
In reply to: [NSFW] How to add og:image tag to head of every page?How can I escape the open graph tag? I tried PHP_EOL constant, but I’m unsure where should I put it. I need to escape in the end because in the same line begins inline css tag.
- This reply was modified 2 years, 6 months ago by boostxd.
Forum: Developing with WordPress
In reply to: [NSFW] How to add og:image tag to head of every page?Many thanks. It works in charm!
Forum: Plugins
In reply to: [NSFW] [Yoast SEO] Yoast SEO doesn’t set up images in Link PreviewIt’s seems og:image tag is missing in source of all my pages… Perhaps error from Yoast SEO side…? How to fix it? Please, help!