Supporto The Movie Database

I've read almost every post I can find on here about caching the TMDB's data, but none of them say how to do it. (Because everyone knows what they're talking about.) Is there an "ELI5 Guide to Caching the TMDB"? Like from Step 1, with all the how, what, and where. I'd like to have some info web-based, possibly on WordPress. Insights appreciated!

2 risposte (nella pagina 1 di 1)

Jump to last post

Hi @lazysupper,

No such guide from us, as everybody's architecture, app and requirements is going to be different. There's a few different ways you could do it, depending on what you're trying to accomplish.

One way, would be to cache requests locally. Most programming languages have libraries that will let you cache HTTP requests, like a proxy.

Another way could be, to look at standing up a local service layer with something like Nginx or HAProxy.

And lastly, another way could be to create your own local schema, and as your make requests, you start writing the data to your local database in a schema that matches your application.

Lots of different way to do this, just depends what you're trying to accomplish.

Thanks @travisbell. That puts things in much better perspective for me!

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi