cPanel Changes Don't Update the Web Page

Status
Not open for further replies.

interce5

New Member
Messages
5
Reaction score
0
Points
1
I'm just learning how to use cPanel again. It's been a long time since my old Drupal days.
Here is my problem:
1. I have a simple Hello World file that shows up fine on my web page.
2. I can edit the HTML file from cPanel and save the changes.
3. Those changes are not reflected on the web page. It is being cached somewhere and not updating.
4. If I delete the Hello World file I get the correct "Not Found" error.
5. Reloading the changed page and the changes show up.
'Tis a mystery I hope someone can solve.
Why is the web page not updating after being saved in the cPanel file editor?

ip
 

interce5

New Member
Messages
5
Reaction score
0
Points
1
OK. Call off the dogs. It looks like this was a problem with me not refreshing the browser after the change.
Cancel this one. If I see it again I will post again.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Why is the web page not updating after being saved in the cPanel file editor?
x10hosting recently implemented a different web-server-software setup on their free-hosting servers - which is a combination of the Apache web server and the Varnish cache server
the cache server maybe why there is a delay before you 'see' the current file - after you upload or change it

staff has said - to override [ Varnish cache ] try adding the following line to your [ .htaccess ] file(s)
Code:
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"
 
Last edited:
Status
Not open for further replies.
Top