digikb
Forum Replies Created
-
I don’t think its a core issue. Disabling Cache-Control (Static File Headers) stops the issue. It’s not been a problem before.
To do this, browser cache should:
- Exclude
.php, or - Exclude
/wp-admin/, or - Apply only to static assets (CSS, JS, images).
We haven’t had a fix for this, other than a suggestion from WP-Optimize to update our PHP version, however as you say it’s affecting PHP 8.3/8.4 as reported by other users.
We have just disabled the browser caching feature by going into Static File Headers and setting the Browser static file caching headers Expiration time to 0 which disables it. You may need to also clear the cache in WP-Optimize and on your browser and restart to make sure the new cache settings are picked up. Make sure that the website can update .htaccess and any Cache-Control settings are no longer there.
In reality this only has a minor impact on performance in the real world, but in our opinion this is a major bug that should be fixed in the plugin. Backend pages should never be cached.
- This reply was modified 4 months, 3 weeks ago by digikb.
To answer your questions, we are running Apache.
On the php8 site we tested, it is the same hosting environment, but a different server.
Hope this helps.
Thank you.
They will be updated soon, but for now it would be good to get a version working with PHP 7.4 as it’s still widely used.
Some additional info, we are running PHP 7.4.3 for this particular site. We did test on another site running php 8.1.2, and the issue did not come up. This may not be relevant, but thought I would let you know as this may help with debugging.
Hi,
We are using Version 4.4.0, the latest version, but we also experienced this on the previous version too.
Also, we have replicated this issue on multiple websites.
Look forward to hearing back.
Many thanks
- Exclude