fuzzyalej
fuzzyalej

Reputation: 5973

how to delete cached page in rails app deployed on heroku

I have an app deployed to heroku that was working correctly. I uploaded some changes about page caching (just testing!) and now it's always serving those pages, ignoring my requests to clear the cache (Rails.cache.clear)

The cached pages are NOT created in public nor tmp so I don't know how to delete them or where they are...

Upvotes: 2

Views: 602

Answers (2)

fuzzyalej
fuzzyalej

Reputation: 5973

Finally solved by waiting the required amount of time for them to expire...

Upvotes: 0

icantbecool
icantbecool

Reputation: 492

I know this might sound trivial, but did you do a heroku restart and simply restart your application?

Upvotes: 1

Related Questions