SnapshotSnapshotMetadata

AI Overview😉

  • The potential purpose of this module is to assess the user experience of a webpage by analyzing its loading time and complexity. It does this by tracking the number of distinct resources required to render the content, the total size of these resources, and the time it takes to fetch them.
  • This module could impact search results by favoring webpages that load quickly and efficiently, as they are likely to provide a better user experience. Webpages with many resources or large file sizes may be penalized, as they may take longer to load and negatively impact the user's experience.
  • A website may change things to be more favorable for this function by optimizing their webpage's loading time and complexity. This could be achieved by reducing the number of HTTP requests, compressing files, using caching, and optimizing images. Additionally, ensuring that the webpage's content is efficiently delivered and rendered can also improve the user experience and positively impact this module's assessment.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata (google_api_content_warehouse v0.4.0)

Attributes

  • countDistinctResources (type: integer(), default: nil) - The number of distinct resources fetched to render the content. This may aid the calculation of total page load time for user experience. For example, if total_content_length is only a few dozen kilobytes, but that is from fetching 100 distinct resources, total page load time might be much higher than the total_content_length would otherwise infer.
  • crawlTimestamp (type: String.t, default: nil) - The time at which the main resource of the Snapshot was fetched, in seconds since epoch. Note that the various page dependencies may have been fetched at much earlier points in time (hours, maybe days) and that this could be off from the actual rendering time.
  • snapshotDocument (type: GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotDocument.t, default: nil) -
  • snapshotQualityScore (type: number(), default: nil) - The score here corresponds to the score in Snapshot, a number between 0.0 and 1.0 (higher the better).
  • totalContentSize (type: String.t, default: nil) - Number of bytes fetched to render the content. For example, to render a web page, this value would include the HTML, stylesheets, images, and all other dependencies. This can be used to calculate a coarse estimate of the total page load time a user might experience.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata{
  countDistinctResources: integer() | nil,
  crawlTimestamp: String.t() | nil,
  snapshotDocument:
    GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotDocument.t() | nil,
  snapshotQualityScore: number() | nil,
  totalContentSize: String.t() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.