Any idea why it’s happening and how to fix it?
Thank you in advance
]]>Here’s what I’m getting when I do a CURL command on the site.
Server: nginx
Date: Thu, 20 Oct 2022 15:20:02 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Cache-Enabled: True
Link: <https://www.howtotrainadreamdog.com/wp-json/>; rel=”https://api.w.org/”, <https://www.howtotrainadreamdog.com/wp-json/wp/v2/pages/209150>; rel=”alternate”; type=”application/json”, <https://www.howtotrainadreamdog.com/>; rel=shortlink
Set-Cookie: wccp_pro_functionality=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/
Set-Cookie: socialsnap_viewed_209150=1; secure
Cache-Control: private, must-revalidate
Expires: Sat, 19 Nov 2022 15:19:53 GMT
X-Httpd: 1
X-CDN-C: all
Content-Encoding: gzip
X-SG-CDN: 1
X-Proxy-Cache: MISS
X-Proxy-Cache-Info: 0 NC:000000 UP:SKIP_CACHE_PRIVATE
Host-Header: 8441280b0c35cbc1147f8ba998a563a7
I have disabled each plugin and re-ran the CURL command, but the dynamic caching issue persists.
I am using the exact same theme on other sites I support, and none of them have dynamic caching issues. So I’m stumped.
Can anyone help me track down the source of this issue?`
]]>There appears to be only one article (listed below) that describes SG Optimizer’s feature, Cloudflare (Full Page Caching). Unfortunately, it does not include information that may be helpful to many plugin users.
Based on the above, it would be great if SiteGround can answer the following questions:
(1) How much faster is SGO Cloudflare (Full Page Caching) vs. Cloudflare (Page Rules)? Your article does not provide any metrics, benchmarks, numbers, or percentages. Data appreciated.
(2) SGO Cloudflare (Full Page Caching) — when activated — deletes all Cloudflare Page Rules. Further, the Page Rules are not restored when SGO Cloudflare (Full Page Caching) is deactivated. What are your recommendations for preserving and/or restoring Cloudflare’s Page Rules? (other than recreating them manually, which is quite painful when you’re using 15+ Page Rules)
(3) How does SGO Cloudflare (Full Page Caching) treat dynamic content? (e.g., website pages using Gravity Forms, User Logins, Booking Forms, WooCommerce payments pages, Calendars, etc.). Is the entire page still cached (regardless of each individual plugin’s cache/no-cache settings)?
(4) SGO Cloudflare (Full Page Caching via CDN’s Workers) has a limit of 100,0000 requests/day and 1000 requests/minute. Exceeding these limits will require upgrading to a more expensive Cloudflare plan and/or pay extra for exceeding these limits. What tools does SG recommend to determine our website’s hits per day or per minute?
(5) If we’re using SGO’s Dynamic Cache and MemCached successfully (as well as Cloudflare caching via Page Rules), do you still recommend activating SGO’s Cloudflare (Full Page Caching)? If so, why? Please be specific (numbers, data, etc.). For example, % increase in TTFB, Lighthouse Performance Scores, WebPageTest Scores, GTMetrix Scores, etc.
(6) What percentage of SG customers are currently using SGO’s Cloudflare (Full Page Caching) feature? Publishing metrics (e.g., pie charts, etc.) showing how SG customers are using your plugin and respective settings would be beneficial to many.
Thank you in advance for your help. It would be great if you can “pin” this topic. Will help many long term.
Cheers!
—————–
https://www.siteground.com/tutorials/wordpress/sg-optimizer/cloudflare-full-page-caching-sg-optimizer/
]]>I’ve been trying to make my Siteground site faster. I did the speed test in SG optimizer and got 41. One of the opportunities to optimise said to test the dynamic caching to see if it’s working. I have Dynamic Caching turned on in SG optimizer, but when I use the test functionality it says “URL is not Cached” for all the sites Urls. How do I fix this?
Thanks
]]>Unfortunately, and for a long time now, SG Optimizer’s Dynamic Cache feature does not appear to be working. Every time we perform a Dynamic Cache test, we get this message: “The URL is not cached”
Research reveals SG is already aware of the above condition (four months ago), and indicated a fix would be released “next week” – as stated here.
Questions:
(1) Has the fix been implemented? If so, what plugin version incorporates the fix and why do we keep getting the above message?
(2) If the fix has been implemented, shouldn’t the SG Optimizer plugin be updated to auto-detect websites that use Cloudflare and provide a message in the backend that states: “Your website is using Cloudflare. Therefore, Dynamic Caching has been deactivated.” (or something like it)
(3) If the fix has been implemented, why do we keep seeing the header: “x-proxy-cache: MISS” as shown here“?
Many SG clients remain confused or frustrated with the above or are unaware that their website(s) are not being dynamically cached.
Again, a fix is appreciated and/or additional information or changes should be added to your plugin to auto-detect Cloudflare, etc.
As always, thank you for your help!
]]>I have an interesting problem with automatic flush of a WP Multisite site. The WordPress installation is at example.siteground.com
(not the actual URL; log in to see the page I need help with) and the site I’m working with has a home url example.siteground.com/read-ember
. If you try to browse to the home url and you’re not logged in, you’ll be redirected to the public URL for the site: https://read.emberjournal.org
.
I accomplish the sub-site-to-domain mapping with the Domainer plugin.
The problem I’m running into is that dynamic caching does NOT automatically flush assets for read.emberjournal.org
when the asset is changed in the WordPress Admin console. This isn’t surprising, since the domain name is different from home_url() for the site … but what I can’t figure out his how to configure SuperCacher or SG Optimizer to either:
read.emberjournal.org/some-cached-page
whenever the matching example.siteground.com/some-cached-page
is updated in wp-admin.The cache at read.emberjournal.org is correctly flushed by the cron job.
Can you provide any suggestions?
]]>I repeatedly tested more than one URL for cache status and SG Optimizer always feedbacks “The URL is not cached.”
How can I fix it?
Thanks
I’m on Siteground with SG optimizer & WP Rocket (did the FAQ part)
On some parts of the website (homepage, posts) I get unstyled content,
Clearing SG cache solves this for a while but then it happens again.
Disabling Dynamic Caching on SG Optimizer solves it – so now it’s off.
Can/should it work together?
Also SG’s Memcached is on and it seems to work fine.
One other question I have is: what is the order in which I should purge the cache?
Should I First cache WP CF super page cache then WP Rocket then SG cache? If not, in what order should it be?
Thanks!
]]>