A
A
Anton Ivanov2015-03-15 00:06:12
Ruby on Rails
Anton Ivanov, 2015-03-15 00:06:12

Is it possible in Rails 4 to call expire_action with wildcat as a parameter?

Hello everyone
There is an action that shows a frame from the video. Accepted parameters are the name of the video file, the size of the preview image and the percentage of the length of the video where the screenshot is needed. These frames are stored in the action cache.
And there is action with video editing. In this action, you need to clear the preview cache. But the fact is that the preview could be called with different sizes and from different positions of the video. It is necessary to clear everything at once for a specific video. Is it possible?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vsuhachev, 2015-03-16
@vsuhachev

If you mean fragment caching, then here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question