Introduction - If you have any usage issues, please Google them yourself
Such cache includes two ways: one is based on a list of methods, such as the display information in accordance with a category, search for a keyword for display the other is cached detail page, display a specific article.
Such logic has nothing to do with the specific business, is only responsible for reading and storing data in xml, to determine whether the cache expires decide whether to update the cache. In accordance with the three-tier architecture model, then it is in the data access layer.