Skip to main content

ASP.NET Video Starter Kit - Cache Management

Effective caching increases performance by returning data more quickly to a larger number of users. It also increases scalability by limiting the number of calls required to back-end systems by providing data from a local source instead of requiring a call to the back end.

In Video Starter Kit both data level and page / module level cache has been implemented to control availability of data fastly while keeping scalability and performance of web application in high load of traffic.

Data Cache:

Data cache has been used to cache all shared data that are more frequently display on various parts or more visible pages.

It is used in

  • Videos (main, tags, categories, archives listing)
  • Audios (main, tags, categories, archives listing)
  • Photos (main, tags, categories, archives listing)
  • Blogs (main, tags, categories, archives listing)
  • Channels (main, accounttype listing)
  • Groups (main, categories, tags and other listing)
  • Forums (main, categories, tags and other listing)
  • Q&A (main, categories, tags and other listing)
  • Albums (main, categories, tags and other listing)
  • Galleries (main, categories, tags and other listing)

 

Page / Module Cache:

Page or Module cache has been used in modules which display various type of data, contents on various pages specially on home page.

It is used in modules like

  • Popular categories
  • Recently added videos
  • Most viewed videos today
  • and hundreds of more.

Note: Due to cache new contents not visible directly on parts mentioned above.

Cache implementation significantly increase performance of web application.