Caching of Assets/Packs not affected by Rule set in Cloudflare

Our application is hosted on Heroku. We are using Puma server, it is a ROR application. We have tried configuring Cache Control directives on Rails application but the cache time still shows 1 year for our assets/packs. Heroku support suggested that this is a configuration issue on Cloudflare side. We have configured a rule for URI on cloudflare to set Cache time for browser but the cache time remains 1 year.