?
Solved

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

Posted on 2008-10-16
12
Medium Priority
?
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
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 1500 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

649 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