Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
Can I cache images these are refreshing after time interval in php?

Hello I am working on chat application and I have user profile images these are refreshing after 1s interval using Js. After 1s my Js script send request to server and on server side it check if user have profile image in database then it send all users profile images. This make user profile images blinking after 1s. I want to cache user profile images so that it can't load images from server again and again. First time it load from server and cache images in browser and then for each request it get images from cache not from server. But when user update their profile image then it must load updated profile image from server.

Please tell if it's possible.. Thanks in advance..

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can use this meta tag for caching images :

<meta http-equiv="Cache-control" content="public" />
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda