Open jroedel opened 1 year ago
@jroedel podrías aclarar un punto? En la versión actual de la app, las fotos se estan cacheando? Podrias agregar screenshots en caso de tener?
Parece que sí. Hice una prueba.
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:03:46 +0100] "GET /pt/api/v1/persons/667 HTTP/2.0" 200 7930 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:03:46 +0100] "GET /pt/api/v1/persons/667 HTTP/2.0" 200 7930 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:03:46 +0100] "GET /fathers/photos/667.jpg HTTP/2.0" 200 70142 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:03:46 +0100] "GET /pt/api/v1/interface-data HTTP/2.0" 200 52348 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:03:46 +0100] "GET /pt/api/v1/interface-data HTTP/2.0" 200 52348 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:04:24 +0100] "GET /pt/api/v1/persons/667 HTTP/2.0" 200 7930 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:04:25 +0100] "GET /pt/api/v1/persons/667 HTTP/2.0" 200 7930 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:04:26 +0100] "GET /pt/api/v1/interface-data HTTP/2.0" 200 52348 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
schoenstatt-fathers.link 0 xx.xx.252.40 - - [30/Dec/2022:16:04:26 +0100] "GET /pt/api/v1/interface-data HTTP/2.0" 200 52348 "-" "Schoenstatt%20Fathers/6 CFNetwork/1399 Darwin/22.1.0"
La segunda vez los logs no muestra la foto cargándose
Las fotos de las personas se deben cachear por un máximo de 7 días sin revalidar su actualidad.
P. Francisco me ha mostrado una impresión de pantalla de una foto antigua de una persona que se había actualizado 12 días antes. Hoy es el 30 de diciembre y la foto en la página web se cambió el día 17 de diciembre.
El servidor dice que una foto se puede guardar en caché por 3 días máximo. Alisto los headers de esta foto de la persona en cuestión: