Refresh time?

Status
Not open for further replies.

grsi0317

New Member
Messages
1
Reaction score
0
Points
1
Hello there,
Everytime I upload some files via ftp it takes tooo long to update on the site and I want to know the delay of the updates, can anyone help me?
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
I want to know the delay of the updates
-
x10hosting's free-hosting servers run 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 file(s) - after you upload it - or see a new 'post'
the caching time (delay) S/B about 5 seconds for dynamic content and about 5 minutes for static content - there are posts in this forum about it being longer

to override [ Varnish cache ] try adding the following line to your [ .htaccess ] file in folder [ public_html ]
Code:
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"

AND/OR

#1.> Sign into your cPanel account at --> [ https://www.x10hosting.com/sso/login ] and open cPanel

#2.> if you are NOT in the [ cPanel x3 ] theme - click on the "Switch Theme" button at the top on the screen - you can choose between [ x10Hosting Basic ] and [ cPanel-x3 ] themes

#3.> on cPanel-x3 (not x10hosting Basic) homepage - in the [ Software and Services ] block - click on [ Cachewall ] - then set it to [ off ] for each domain
###

the current 'cache' (if any) will need to time-out before this setting becomes effective

You can also check at [ http://isvarnishworking.com ] to see if the .htaccess modification is working. It should say "Yes! Sort of." and then you should see the Cache-Control header underneath

NOTE: you might have a 'cache' in your browser and/or ISP

see --> [ https://x10hosting.com/support/general/varnish-cache?from_search=15919930 ]
-
###
 
Status
Not open for further replies.
Top