Invalidating the cache

Rated 4.59/5 based on 966 customer reviews

Invalidation is carried out by changing the application data, which in turn marks the information received by the client as out-of-date.After the cache is invalidated, if the client requests the cache, they are delivered a new version.Important You can invalidate most types of objects that are served by a web distribution, but you cannot invalidate media files in the Microsoft Smooth Streaming format when you have enabled Smooth Streaming for the corresponding cache behavior.In addition, you cannot invalidate objects that are served by an RTMP distribution.HTTP caching is a great solution for improving the performance of your web application.For lower load on the application and fastest response time, you want to cache content for a long period.

If you submit more than the allotted number of invalidation paths in a month, you pay a fee for each invalidation path that you submit.Cache invalidation can be used to push new content to a client.This method functions as an alternative to other methods of displaying new content to connected clients.But at the same time, you want your clients to see fresh content as soon as there is an update.Instead of finding some compromise, you can have both with cache invalidation.

Leave a Reply