fizzers
Forum Replies Created
-
Hi @bvytis, this is something I looked into as I saw it on other support threads, but we don’t have any plugins that provide lazy-loading functionality.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Page updates only showing when logged-inHey,
It’s a pretty low traffic site so this is a bit puzzling. Do you believe the API call limit is the reason why published content does not update properly? And if so, what Super Page Cache settings can affect this?
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Page updates only showing when logged-inI’m not sure what the exact problem is, except that it involves this plugin.
Reviewing the logs again, I can see instances of
"message": "Unable to purge, rate limit reached. Please wait and consider throttling your request speed"
. From what I can see, purging cache returns"success": true,
however the cache doesn’t get purged.For example, we recently (days ago) updated the Trustpilot section on the main nav. The new version of the nav shows the Trustscore (4.8), whereas the old version shows the Trustscore (Excellent). In incognito, the old version is still shown. At the same time, as soon as you log in, the new version shows.
edit: would it help if I shared the log file with you?
- This reply was modified 3 years, 3 months ago by fizzers.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Page updates only showing when logged-inHello @isaumya,
I had to enable log mode under General to get the log verbosity to appear.
We’re still experiencing this issue – appreciate it might not be immediate but changes are taking days to appear – and purging CF Cache has no impact.
I’ve reviewed the log files and nothing obvious is jumping out, though I’m not exactly sure what I’m looking for.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Page updates only showing when logged-in@isaumya I appreciate there’s a delay expected after publish; the issue we have is preventing any updates at all from being pushed live, it seems they’re stuck (but only if you’re logged out / don’t have the &swcfpc=1 parameter).
I’ve tried looking for the Log Verbisity setting but unable to find it within Settings > Other?
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourStill missing from what I can see.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourDone, @isaumya.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourHi @isaumya,
I reset from the beginning of setup without deleting and reinstalling the plugin and it appears to be working now (but still getting the error message in the plugin).
Are you able to confirm if it now looks correct on your end?
Also please are you able to confirm please if it’s safe to leave CF Railgun and RocketLoader enabled, should those be disabled, or does it make no difference?- This reply was modified 3 years, 4 months ago by fizzers.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourHi @isaumya,
The
PHPSESSID
cookie was being set by some code that allowed the random sort by option on our store to behave correctly. After disabling that, the cookie is gone.Siteground Optimizer plugin has also been disabled.
Flushed the cache and tested, but unfortunately we’re still getting the following:
Error on dynamic page (https://pips-seedbank.co.uk): Cache status: DYNAMIC - The resource was not cached by default and your current Cloudflare caching configuration doesn't instruct Cloudflare to cache the resource. Instead, the resource was requested from the origin web server. Error on static resource (https://pips-seedbank.co.uk/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html): Unable to find the Cache-Control response header.
Forum: Plugins
In reply to: [Code Snippets] PHPSESSID cookie being setHi @bungeshea,
edit: I was able to track down the individual snippet and then the function that was responsible for setting the cookie – I guess I’ll have to find a different way to enable a random sort function on the store!
session_start(); add_filter( 'posts_orderby', 'pips_rand_order_with_seed' ); function pips_rand_order_with_seed( $orderby ){ if( !is_shop() ) return $orderby; // do the magic only when "Sort in a random order" is selected if( isset( $_GET['orderby'] ) && 'rand' === $_GET['orderby'] ) { // reset the order each time the 1st page is visited if( ! is_paged() && isset( $_SESSION['seed'] ) ) { unset( $_SESSION['seed'] ); } $seed = false; if( isset( $_SESSION['seed'] ) ) { $seed = $_SESSION['seed']; } // Set a new seed if not exists if ( ! $seed ) { $seed = rand(); $_SESSION['seed'] = $seed; } // pass it to an SQL query $orderby = 'RAND(' . $seed . ')'; } return $orderby; }
Thank you for your help.
- This reply was modified 3 years, 4 months ago by fizzers.
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourThanks for the help @isaumya.
Siteground Optimizer also handles our css + js + html minification, image compression/optimisation and database maintenance.
Could you recommend a plugin/plugins that would replace this functionality while playing nicely with Super Page Cache?
Forum: Plugins
In reply to: [NSFW] [Super Page Cache] Weird caching behaviourHello @isaumya,
Thanks so much for getting back to me and identifying the culprit.
After disabling plugins one by one,
PHPSESSID
is being set by the Code Snippets plugin. This plugin is utilised heavily by our site, what do you recommend we do here?In terms of other caching systems, we’re only using the SiteGround Optimizer plugin but all of the relevant settings should be disabled, and OMGF, for fonts performance.
Thanks,
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Mailchimp Woocommerce Landing Site fixHi @ryanhungate,
Thanks for your reply. Ideally, we’d like it to be set dynamically as we don’t actively run any campaigns with set landing pages. But it sounds like this is not currently possible?
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Mailchimp Woocommerce Landing Site fixHi @builtbyjordan,
Perhaps I’m not understanding this feature correctly, but why would we want to explicitly choose the landing site. Shouldn’t this be set dynamically depending on where the user lands?
Using an example from Google Analytics, you can add domains to a referral exclusion list so that these don’t interfere with the session journey (for example, user lands on homepage, is redirected to an offsite payment gateway as part of the purchase and then back to the website, but the payment gateway domain is effectively ignored, thus leaving the actual landing page i.e. homepage intact).
Thanks
- This reply was modified 3 years, 4 months ago by fizzers.
Any response or update please @jenneycs?