Solved

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

Posted on 2008-10-16
12
169 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
 
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now