Solved

Website doesn't get updated righ away on Linux based host

Posted on 2008-10-16
12
171 Views
Last Modified: 2010-03-04
I recently bought a small-sized linux hosting plan from a reseller. What I've noticed is that when I update a file over ftp, the output of my site is not updated right away, and it takes about 10 minutes or more for it to get updated. Web site is hosted on a Linux machine (or VPS, I'm not sure, and I don't know how to check it) and I have access to Plesk control panel.

How can I know where the problem is? If I decide to change my hosting plan, how can I make sure I'm not going to have the same problem?
0
Comment
Question by:huji
  • 7
  • 4
12 Comments
 

Expert Comment

by:MakassarNET
ID: 22729148
Hi,

Your problem looks like a bit strange for me. If you make an FTP Connection over the FTP Server and you uploaded a file overwritten a new file, it should be updated directly as soon as the file uploaded 100%. You should probably to delete you browser Cache. This most likely a Cache problem. When you open a site, the Cache that saved by your web browser will open the previously used or saved cache to minimized download time.

Hope this help!


Sincerely,

Hernan Halim
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22729384
hold sown the shift key on your keyboard when you do the page refresh.  On most browsers this causes it to ignore the local cache and fetch the page.
0
 
LVL 14

Author Comment

by:huji
ID: 22729668
Deleting the browser cache was the first thing I tried, and it didn't help. I feel like I'm on a VPS-hosted reseller service, and what I upload to isn't a normal FTP folder, but a shadow-like space. I don't know what I'm talking about myself tho!
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 20

Expert Comment

by:edster9999
ID: 22729757
I've seen this if you have loadbalanced boxes.  
The ftp file drop is copied every few minutes to the production boxes.

But I doubt you have that unless you know about it (and pay for it)
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22729760
Do you go out through a proxy ?  Maybe that is caching
0
 
LVL 14

Author Comment

by:huji
ID: 22729821
I'm not using a proxy. Load balancing idea was brilliant! Remember that I'm using a reseller based service, and don't know which features are enabled on the main box. Is there a way to know these by running a command or something? php_info() doesn't show much info, or I'm missing it

0
 
LVL 20

Expert Comment

by:edster9999
ID: 22730136
you wouldn't see it on the servers - you'd have to ask the reseller.
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22730144
or rather ask the hosting company.
They are probably not doing this if you dont know about it
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22886795
Are you giving up ?  Why not try one more time.....
What web server are you using ?  Apache ?  Tomcat ? other ?
Do you have ssh access to the server ?
Do you have root access ?
0
 
LVL 14

Author Comment

by:huji
ID: 22896281
I have ssh access, but it is very limitted. I don't have root access, not even access to such commandsas "mysql" etc. Commands allowed are only those pertaining file management and a few more.

It is an Apache web server. What do you advise?
0
 
LVL 20

Accepted Solution

by:
edster9999 earned 500 total points
ID: 22896504
As you have a limited account then it is very unlikely that you have loadbalancing installed as discussed earlier.

I'm still going towards cache.  
The places it could be...
1. Your pc (you have tried this)
2. Your internet gateway (you say you do not have caching here)
3. Your ISP
4. The webhost company incoming lines
5. the server

Start by investigating 4 and 5.  Contact the hosting company and ask them.
0
 
LVL 14

Author Comment

by:huji
ID: 22916747
I made more thorough researches and finally I tracked it down to the cache server of the ISP from which I tested the pages. I've noticed that they are not updating many pages (particularly CSS pages, but some times even HTML pages) as soon as they get updated over the internet. I've told them about how stupid this is, and they've refused to change their mission. I think I'm going to change my ISP as soon as I can.

Thanks for your advice
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Select record with the most recent date 14 67
$q.all is slower or not  in  Angularjs 2 22
replica website 2 35
WordPress 8 31
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question