Hello @superpoincare
Thank you for your inquiry and I am happy to assist you with this. When you say page_enhanced mode, do you mean that you switched to Disk: Enhanced caching method?
When does it work as expected?
Is REST API disabled in Performance>Page Cache>REST API sub-box?
Thank you!
Not disabled, set to don’t cache.
Also, there’s also a permalink header which WordPress uses, which is also removed.
-
This reply was modified 6 months, 1 week ago by
Ramanan.
Hello @superpoincare
Can you please share the screenshot before and after of the issue you are describing? Sharing your website URL may also help.
Thank you!
Hi Marko,
I’ve created a test site using Bold-Grid’s testing tool.
I loaded the sites twice, one without cache warmed and one cached and you can see that the headers is not seen in the second:
First load: https://tools.keycdn.com/speed?h=5e42bd6a0a23473b3700a262
Second load: https://tools.keycdn.com/speed?h=5e42bea90a23474148344012
Incidentally it also shows that there’s some bug with minify in situations where the install is in a folder.
(Sorry didn’t answer in previous reply: yes disk_enhanced, not “page_enhanced”)
Hello @superpoincare
Sorry I am not seeing this. in your report. When switching to HTTP Header Checker nothing is showing.
Thank you!
You can expand the first request in the links above to see the headers.
Anyway, the htaccess looks like:
https://imgur.com/r2Od1EM
Cached pages don’t get the rest-api and permalink headers. Only the preload header.
Hello @superpoincare
Thank you for the information. Yes, I missed that, thanks!
We will check this and reply as soon as we investigate.
Thank you!
Hello @superpoincare
For the delay, the provided links have expired. Can you please update them or provide a new test?
Thank you!
Hello @superpoincare
Thank you for the information. We are checking this.
Hello @superpoincare
Thank you for your patience.
It’s a backward-compatibility.
Disk: Enhanced doesn’t store headers historically.
But plugin now able to control that, it’s a relatively new feature. You can control that by “w3tc_pagecache_set_header” filter.
hank you!