Caching
What is Caching?
The general meaning of Caching is; to store frequently used objects, and eliminate the time spent for computing the object before sending it to the end user. Therefore static objects can be delivered fast.
What are Cache Servers? (Cloud Caching)
They are fast object storage servers with high-speed internet connections. They are distributed and located around the world. If an object is needed, it is delivered quickly from the closest server to the user.
What is browser cache?
Browsers have their own internal storage. They can temporarily store objects. However, they won't store objects automatically. Servers that are sending data to browsers should tell the browser to store this file.
Can browsers store my objects indefinitely?
Every browser has its own re-check-origin algorithm and size limit for its internal storage. You can't store objects indefinitely. And also they can decide to re-check the origin or invalidate before the object is expired.
Imagemash internal cache
Imagemash has its own internal cache. Images or files you optimized are stored in both imagemash.io's internal caches and cloud caches. If an object expires or is not found in the cloud cache, it will be delivered to the cloud cache via imagemash.io's internal cache. Therefore visitors will access files in a couple of milliseconds in every situation. Object expiration time in our internal caches is 180 days.
Please do not get confused about the internal cache and our cloud storage. IM Cloud Storage is permanent storage, objects will stay there indefinitely unless you delete them.
Can imagemash.io handle all caching for me?
Yes, imagemash.io will handle both Cloud Caching and Browser Caching for you. No additional coding or maintenance is needed from your end.
Last updated