L
L
LobsterJoe2018-03-12 20:56:50
RSS
LobsterJoe, 2018-03-12 20:56:50

What is the correct business logic for an aggregator/parser in php?

Hello!
There is a site with user pages, for each user, the page displays posts generated based on feeds from the RSS feed (urls are taken from the feeds, the source is parsed according to the specified rules). The main desire of the customer is not to store any content in the database.
At the moment, all this works like this - a task has been created that warms up the cache every 6 hours, pulling
each of the pages in a cycle, requesting and caching data.
The pages also implement a check for the presence of fresh entries in the cache, if there are no entries, they are requested again and cached.
How justified / unjustified is this approach to solving the problem?
What are the options?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question