Peter Duchnovsky
Forum Replies Created
-
No that has no effect since, im assuming, the default rule for caching is being set via htaccess and wp-optimize does not create any htaccess rules overriding that.
Also, you disable FileETag as well, might also lower chances of browser not caching api (but I tested and enabling them back doesn’t help)
- This reply was modified 11 months, 1 week ago by Peter Duchnovsky.
Another solution is to simply set no-cache for API
<IfModule mod_headers.c>
<If "%{REQUEST_URI} =~ m#^/wp-json/#">
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
</If>
</IfModule>Maybe it would be benificial to let users choose whether they want to cache API as well.
Hmm, @vmarko, when you set both, you are spamming error console, throwing error that both of these policies are set.
Also, no matter which format I try to enter in to the fields, none work to allow self and also url for fullscreen or autoplay or basically any other fields, the format gets translated to htaccess wrongly
Easy to reproduce, just set those and check console in chrome.
Just for reference this is the topic on their side https://ww.wp.xz.cn/support/topic/compatibility-issue-with-altcha/#post-18522649
I also found the issue, they are settingExpiresDefaultdirective, which seems also affects API or something else important in the ALTCHA process. When I comment it out, everything works fine.# BEGIN WP-Optimize Browser Cache
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access 1 month 1 day"
ExpiresByType text/html "access 1 month 1 day"
ExpiresByType image/gif "access 1 month 1 day"
ExpiresByType image/png "access 1 month 1 day"
ExpiresByType image/jpg "access 1 month 1 day"
ExpiresByType image/jpeg "access 1 month 1 day"
ExpiresByType image/webp "access 1 month 1 day"
ExpiresByType image/x-icon "access 1 month 1 day"
ExpiresByType application/pdf "access 1 month 1 day"
ExpiresByType application/javascript "access 1 month 1 day"
ExpiresByType text/x-javascript "access 1 month 1 day"
ExpiresByType application/x-shockwave-flash "access 1 month 1 day"
#ExpiresDefault "access 1 month 1 day"
</IfModule>Found the cause, its:
ExpiresDefaultdirective, with it disabled, everything works fine.Also, btw, im getting this error, even without commenting
ExpiresDefaultout, so there is something going on.
- This reply was modified 11 months, 1 week ago by Peter Duchnovsky.
It seems it’s because of the browser cache headers set via htaccess.
Thank you for your explanation
The thing is, as I said, I disabled all blocking in Vivaldi, like, completely.
I also edited my post, ‘Now, I know this has nothing to do with your plugin I assume, however, I was wondering whether there is anything that can be done to avoid this happening, some workaround, that other plugins seem to be doing.’
Another Edit: I found the problem, its their feature ‘Block Hyperlink Audit Tracking’, so I wonder whether there is something you could do to avoid being blocked by it.
Found some reference: https://forum.vivaldi.net/topic/79924/what-is-hyperlink-audit-tracking- This reply was modified 11 months, 2 weeks ago by Peter Duchnovsky.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] PHP 8.4.5, deprecated messagesPHP 8.4.5
WP 6.8.1
Plugin 3.5.3PHP 8.4.5
Thank you very much for your quick reply and for letting me know the issue has been resolved. I truly appreciate your technical team’s effort.
I’d also like to thank you for offering the Beta version. However, for our production website, I prefer to use stable, official releases. I hope the fix makes it to the production version as soon as possible.
Many thanks again for your help!
Hi, I think this is beause my host is running php 8.4 and your plugin might not be up to date with it.