Pete
Forum Replies Created
-
Forum: Plugins
In reply to: [MaxButtons - Create buttons] PHP 8.0.11BTW, here is the error we get…
Warning: Constant HDOM_TYPE_ELEMENT already defined in /public_html/wp-content/plugins/maxbuttons/assets/libraries/simplehtmldom/simple_html_dom.php on line 27
Hi Saumya,
I contacted our host and they replied that the original header in question is inserted by Cloudflare.Here is their reply…
————————————–
Checked further and find that the headers are enforced by Cloudflare. These are the cache-control headers when accessing the domain normally, passing through the Cloudflare Server –cache-control: private, proxy-revalidate, s-maxage=0, max-age=172800
x-wp-cf-super-cache-cache-control: s-maxage=31536000, max-age=60And then the same when modifying my hosts file to bypass Cloudflare –
cache-control: s-maxage=31536000, max-age=60, max-age=172800
x-wp-cf-super-cache-cache-control: s-maxage=31536000, max-age=60
————————————–So they are saying the issue lies with Cloudflare.
Would you know how I can get Cloudflare to stop adding the conflicting cache-control line?
Hi Saumya,
Thank you for such a quick reply.I contacted our host and they responded…
—
This is associated with the dynamic caching on the server.
I disabled it by adding the following header in the .htaccess file:
Header set Cache-Control “no-cache”
—They added Cache-Control “no-cache” to the first line of .htaccess
Unfortunately, this didn’t solve the issue.Now the response header related to cache is…
cache-control: no-cache
and…
server: nginx
vary: Accept-Encoding
x-cache-enabled: False
x-httpd-modphp: 1
x-proxy-cache: MISS
x-proxy-cache-info: W NC:000000 UP:SKIP_CACHE_NO_CACHE
x-wp-cf-super-cache: cache
x-wp-cf-super-cache-active: 1
x-wp-cf-super-cache-cache-control: s-maxage=31536000, max-age=60
x-wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabledIs there another command I could add to .htaccess or some other option entirely that could solve this?
Forum: Plugins
In reply to: [Pre* Party Resource Hints] Unable to add new hints since on of last updatesI updated to v 1.7.2.1 and cleared my browser cache completely.
However, it didn’t help.I went back to v 1.7.1 and it worked as expected.
Forum: Plugins
In reply to: [Pre* Party Resource Hints] Unable to add new hints since on of last updatesFYI – I have the same exact issue.
I reverted back to 1.7.1:
https://downloads.wordpress.org/plugin/pre-party-browser-hints.1.7.1.zipIt now works as expected.
The only plugins we use that are in common with the original poster are:
Duplicate Page
Heartbeat Control by WP Rocket
Pre* Party Resource HintsUsing
PHP 7.4
WP 5.4.1Hope that helps.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Automatic Table ImportThat should do it.
Thank you!Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] [table id=1 responsive=scroll /]Thank you Tobias. Worked like a charm.