I have had my site up and running for the last 3 months and hostgator just decides to take my site down today because they are saying my traffic is causing trouble for others on my server. However, I have had the same amount of traffic over the last 3 months as I do now. They say I need to add some sort of cache to my site. How can I do this and what does this even mean. I really need the sites up now cause im losing money! Thanks
I had similar situation some 4 years ago with another major host. that was a great blessing for me ! If a host thinks your traffic too high then it may be time YOU upgrade yourself and opt for your own dedicated server means of course YOU sit down and learn whatever is missing - like linux server admin - on your own offline laptop then go on and move to dedicated I had at that time some 4500 uv/day now i have many times more traffic and full control ( and 4 servers ) to maintain max user comfort caching systems normally require server control as many are done on server-level moving from hosted to dedicated is like loosing virginity - you may be scared before and enjoy it later all the way. publishing on your own server is much more rewarding also financially.
I would much rather just add this cache system for now but I may want to go that way in the future. how much is the dedicated server costing you per month?
Start with a VPS, then upgrade to dedicated if needed. What type of site do you run, wordpress, vbulletin, other....?
I talked to hostgator and they said the VPS is less powerful then the shared server I am on right now. I run an image hosting site.
I believe that caching was meant to be configured in .htaccess . That's all folks. Add compression and you're getting better. # compress the files AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript # removes some bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent <FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf|css|js)$"> Header set Cache-Control "max-age=3024000" </FilesMatch> Of course, modify in order to fit your website's needs. And... jpegoptim and optipng are good too .