Skip to content

Meta Html Loader #11

Description

@gscragg

I have created the library component but it requires an API/endpoint to load a number of films/seasons rendered html pieces into a div.

I guess we have 2 approaches here:

  1. A single endpoint that takes 1 or more slugs: /meta/v1/render?items=/film/49,/film/47.
  2. An endpoint per item: /meta/v1/render/film/49.

The first option means a single http request per page load, but its not easily cacheable.
The second means any number of requests per page load, but they are cacheable across the entire site (not just for the current user).

http2 might mean the second option isnt as bad as the first option.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions