Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@lilyfromseattle
Copy link
Contributor

@lilyfromseattle lilyfromseattle commented Jan 6, 2026

The type of this PR is: FEAT

This PR solves DIAM-76

Description

This ticket was initially an investigatory ticket to see why some artist pages weren't in the sitemap. I didn't see Damon's comments on the ticket so I ended up investigating the issue again and came to the same conclusion (pages aren't being added to the sitemap because we only check for presence of artworks and bio, and pages may have other content like articles and auction results. In this PR I implemented Paul's suggestion (only noindex if there are absolutely no UI modules on the page and then monitor things). Expanding the criteria for sitemap inclusion is also an option we can consider, but I was wary of making the sitemap too large.

@artsy-peril
Copy link
Contributor

artsy-peril bot commented Jan 6, 2026

Warnings
⚠️

Changes were made to package.json, but not to yarn.lock.
Perhaps you need to run yarn install?

Generated by 🚫 dangerJS against 548cb31

@artsyit
Copy link
Contributor

artsyit commented Jan 6, 2026

Warnings
⚠️

Changes were made to package.json, but not to yarn.lock.
Perhaps you need to run yarn install?

Generated by 🚫 dangerJS against 548cb31

@lilyfromseattle lilyfromseattle changed the title Lilyfromseattle/no index feat(DIAM-76): add no index to artist pages without content Jan 6, 2026
genes(first: 0) {
totalCount
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be very wary here and only proceed if we really understand the perf characteristics of this query. Part of what makes the artist page fast is that we both defer some of the query onto the client, and lazy load some of it once we scroll into view. Which does mean we can't know about the state of the page really until we load the client. This moves all that logic upfront to the server which would increase the TTFB quite a bit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Should I simplify and just check for artworks and bio?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One approach would be to just benchmark this to see what kind of impact it really has. Set up some kind of script that pings a bunch of different artist routes, then add each piece of the fragment here and see how it changes the response time. You'd want to be ensure they are uncached.

My intuition says that the benefit of this feature isn't going to be worth the effort/query cost. We moved away from the server-side rendered pieces for a reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants