Reputation: 838
I have a twig page that is playing songs, show song title, artist and image for the specific song playing live. The page is for a web-radio page.
The problem is sometimes when I get in that page, the image, song title, artist of the previous song. I can just fix it by pressing ctrl+f5. And the song sometimes has some feedback like the actual song is playing and cut playing the previous song at each seconds they changed. I want to disable the cache only for the route not the entire application or bundle.
Upvotes: 0
Views: 1511
Reputation: 838
My problem wasn't have nothing to do with Symfony. It was just a cache browser trouble. I fixed it by generating new link to avoid the browser using cache.
Upvotes: 1