# Can you increment a view count on a cached file?

**URL:** <https://www.ruby-forum.com/t/can-you-increment-a-view-count-on-a-cached-file/106710>\
**Category:** Rails\
**Created:** [June 13, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/can-you-increment-a-view-count-on-a-cached-file/106710 "2007-06-13T15:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixplate](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Post date:** [June 13, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/can-you-increment-a-view-count-on-a-cached-file/106710/1 "2007-06-13T15:17:27Z")

</div>

since a cached file doesnt hit the rails app?

i have a cached page but would like to know how many times this page has  
been viewed, is this possible?
