Skip to content

Instantly share code, notes, and snippets.

@JakeLabate
Last active January 20, 2024 03:56
Show Gist options
  • Save JakeLabate/6d7e13935e9b1d36beeb696bcb3e6d11 to your computer and use it in GitHub Desktop.
Save JakeLabate/6d7e13935e9b1d36beeb696bcb3e6d11 to your computer and use it in GitHub Desktop.
{
// parent skil for this article
"article_skill": "Search Engine Optimization (SEO)",
// title of article
"article_title": "How do you make your website Google core web vital-friendly?",
// string of all <h2> elements seen in this article
"article_h2s_string": "minify and defer your code, optimize your images and videos, improve your server response time, and assess your current score",
// array of all <h2> elements seen in this article
"article_h2s_array": [
"minify and defer your code",
"optimize your images and videos",
"improve your server response time",
"assess your current score"
],
// how far down the section is in the article.
// assumed valuable for weighing what section we should contribute to, assuming less people see a contribution the further donw the page.
"section_number": 4,
// total number of contributions for this section
// assumbed valuable as they are assumed to be the number of competitiors we have for the given section
"section_contribution_count": 6,
// link to article section
"section_link": "https://www.linkedin.com/advice/3/how-do-you-make-your-website-google#improve-your-server-response-time",
// name/<h2> of section
"section_h2": "Improve your server response time",
// actual text for the article section
"section_text": "Your core web vital scores can be influenced by your server response time, which is the time it takes for your server to send the first byte of data to your browser. A slow server response time can delay loading speed, negatively impact LCP and FID scores, and frustrate users. To improve your server response time, you should select a reliable and fast web hosting provider that can handle your traffic and requests. Consider upgrading to a higher level of hosting, such as VPS or dedicated, to offer more resources and control. Additionally, enable caching to store a copy of your website on the server or browser to reduce the number of requests and load time. Lastly, reduce your server requests by limiting the number of external resources, such as fonts, icons, or analytics, that need to be loaded.",
// how far down the section is + total number of section contributions (points are bad)
// there is likely a more accurate way to weigth these and potentuially other variables to determine which section should be contributed to (instead of just adding these 2 numbers)
"points": 10,
// where the 'points' fall in relation to other sections for this article (sorted by lowest number of points).
// So here, '3' means that '10' points is the 3rd lowest number of points.
// Attemption to programatically prioritize which sections we should write constributions for.
"priority": 3,
// NOT an input variable
// ai generated contribution (the output) -> this is a demo for now until we perfect the prompt
"section_contribution": "Improving your server response time is crucial for a positive user experience and optimizing core web vitals. Consider implementing a Content Delivery Network (CDN) to distribute your website's content globally, reducing the distance between users and servers. Employing server-side caching techniques like Redis or Varnish can also enhance performance and mitigate response delays. Furthermore, fine-tune your server configurations by optimizing database queries, compressing files, and enabling HTTP/2 for efficient resource loading. Prioritizing server response time demonstrates your commitment to fast, reliable, and user-centric web experiences."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment