Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
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 answers
Answer question

0

You can use this meta tag for caching images :

<meta http-equiv="Cache-control" content="public" />
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!