D
D
Denwebart2015-11-14 21:25:58
Laravel
Denwebart, 2015-11-14 21:25:58

Dynamic content caching in Laravel 4.2?

I'm trying to do caching on a site that has a lot of dynamic things, such as: number of page views, ajax rating, various widgets (latest comments, answers, questions, posts, etc.), which also display frequently changed information (for example, number of voters, number of comments, views).
How to implement then caching on the site (it is possible to use only the file cache driver,) so that the dynamic information is updated immediately? Yii2, grandma whispered, has dynamic content caching functionality . Is there something similar in Laravel 4.2?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Plisko, 2015-11-15
@AmdY

There is no such function out of the box, but you can install an additional package https://github.com/Anahkiasen/flatten

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question