SSH command to clear website cache when updates are made

I have a site using Ruby on Rails. It has it's own administrator console to make changes to the website when needed. When I make the changes and confirm they do not show up on the site itself. I used to have to login to ssh and run a command to clear the cache so the site would update but I haven't done it in so long I forgot the command.

Thanks in advance!
LVL 10
bbrunningAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
bbrunningConnect With a Mentor Author Commented:
I figured it out. Thanks for trying!
Here's the command:
rake tmp:cache:clear
0
 
albuitraCommented:
maybe
/etc/init.d/httpd restart ?
or
/etc/init.d/squid stop; /bin/rm /var/spool/squid/swap.state; /etc/init.d/squid start ?
0
 
bbrunningAuthor Commented:
No, it wasn't either of those....this is driving me nuts. It's more along the lines of a cache clearing command. Even restarting the entire server doesn't update it.
0
 
albuitraCommented:
try with the second line
0
All Courses

From novice to tech pro — start learning today.