Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SXG not working good with my domain #646

Open
egphp opened this issue Jun 27, 2022 · 18 comments
Open

SXG not working good with my domain #646

egphp opened this issue Jun 27, 2022 · 18 comments

Comments

@egphp
Copy link

egphp commented Jun 27, 2022

SXG not working good with my domain

https://www.christian-dogma.com/

any advice ?

@banaag
Copy link
Collaborator

banaag commented Jun 28, 2022

Sorry to hear that you're having a problem with SXG on your site. Have you considered using the SXG validator on files that you serve from your site? It could be found here: https://chrome.google.com/webstore/detail/sxg-validator/hiijcdgcphjeljafieaejfhodfbpmgoe

You can diagnose problems with your site using this tool. Let us know if we could help you further.

@egphp
Copy link
Author

egphp commented Jun 28, 2022

i use it
and i don't know why Cache not green
any advice ?

Screen Shot 2022-06-28 at 2 15 28 AM

@banaag
Copy link
Collaborator

banaag commented Jun 28, 2022

This just means that your SXG hasn't made it to the cache yet. You may need to wait a day or so and check the status again.

@egphp
Copy link
Author

egphp commented Jun 28, 2022

thanks for your help
Sorry , help me to understand
i cached that url for 5 minutes
that's mean it's will wait a day for 5 minutes . or to start caching

@egphp
Copy link
Author

egphp commented Jun 28, 2022

there any way to know , how many urls cached ?

@banaag
Copy link
Collaborator

banaag commented Jun 28, 2022

You need to wait a period of time for the SXG to be processed by the system. That may take a day or two before it makes into the cache.

@banaag
Copy link
Collaborator

banaag commented Jun 28, 2022

Sorry but the tool can only do per URL checks at this time. It won't be able to tell you how many total URLs on your site got cached.

@banaag
Copy link
Collaborator

banaag commented Jun 28, 2022

Just to follow up, does https://www.christian-dogma.com/ deploy a SXG file? Could you forward a link of that SXG file?

@egphp
Copy link
Author

egphp commented Jun 28, 2022

thanks for follow up
i don't know , i enable it via cloudflare
and just send headers from my side Date , Expires , Cache-Control and Last-Modified
any advice ?

@egphp egphp closed this as completed Jun 28, 2022
@antiphoton
Copy link
Member

antiphoton commented Jun 28, 2022

Hey egphp, just to confirm, are you using Cloudflare's Automatic Signed Exchanges?

@egphp egphp reopened this Jun 28, 2022
@egphp
Copy link
Author

egphp commented Jun 28, 2022

yes , am

@egphp
Copy link
Author

egphp commented Jun 28, 2022

Sorry i close it , and reopen by wrong , i really need help

@antiphoton
Copy link
Member

Which document are you following to enable Cloudflare's Automatic Signed Exchanges? Have you contacted Cloudflare's customer support?

@egphp
Copy link
Author

egphp commented Jun 29, 2022

i try for amp
https://www.christian-dogma.com/ampch/
Screen Shot 2022-06-29 at 1 57 35 AM

and for non-amp https://www.christian-dogma.com/
Screen Shot 2022-06-29 at 1 57 26 AM

yes , i did contacted their support , once it's green , they don't know why it's not cached !!

i don't have problem to setup it at my server , am server admin too
but if there any small fix , will be happy

other way , please tell me how to setup it at centos with nginx via url and i will continue

@antiphoton
Copy link
Member

I noticed that the SXG served by your domain has a TTL of only 63 minutes. If the SXG has expired when Googlebot crawls your website, the SXG will not be cached. Would it possible to set the TTL to be longer, for example, to be a few days?

@egphp
Copy link
Author

egphp commented Jun 29, 2022

SXG

can you please provide example of url to check and be sure , or how you check it , to see it before and after fix it

@egphp
Copy link
Author

egphp commented Jun 29, 2022

@banaag
Copy link
Collaborator

banaag commented Jun 30, 2022

There was some delay in processing this example page, but it's in the cache now
Screen Shot 2022-06-29 at 9 20 30 PM
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants