change page and save , no change shows

Status
Not open for further replies.

scicilx1

New Member
Messages
9
Reaction score
0
Points
1
I change my website code and save , refresh page and no changes show even remove files , no changes show ? something lagging ? one day it's instant one days slow as hell!!
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
refresh page and no changes show even remove files
the cache server maybe why there is a delay before you 'see' the file - after you upload it - or see a new 'post'
the caching time (delay) is about 5 seconds for dynamic content and about 5 minutes for static content

staff has said - 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"
 

scicilx1

New Member
Messages
9
Reaction score
0
Points
1
the cache server maybe why there is a delay before you 'see' the file - after you upload it - or see a new 'post'
the caching time (delay) is about 5 seconds for dynamic content and about 5 minutes for static content

staff has said - 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"


Thanks for your help ! but the pause can be hours until I see the changes.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
the pause can be hours until I see the changes.
that could be due to your ISP's and/or your browser's cache

Try clearing your browser's cache and history - close browser - reopen browser - then check the site again -:- Maybe you are seeing a stale (cached) page
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

By default, static content is cached for 5 minutes and dynamic content is cached for 5 seconds. If you saw longer than this, it is possible either your browser was caching it, or your website's script is manually overriding the page's maximum age to a much higher value. In any case, it looks like your website is now correctly serving the Cache-Control header. If you are still seeing this problem, please could you provide me with the full URL to the affected page, so I can check into it?

Thank you,
 

scicilx1

New Member
Messages
9
Reaction score
0
Points
1
Hi,

By default, static content is cached for 5 minutes and dynamic content is cached for 5 seconds. If you saw longer than this, it is possible either your browser was caching it, or your website's script is manually overriding the page's maximum age to a much higher value. In any case, it looks like your website is now correctly serving the Cache-Control header. If you are still seeing this problem, please could you provide me with the full URL to the affected page, so I can check into it?

Thank you,


Thanks for your help , http://scicil.org/
 

scicilx1

New Member
Messages
9
Reaction score
0
Points
1
Hi,

By default, static content is cached for 5 minutes and dynamic content is cached for 5 seconds. If you saw longer than this, it is possible either your browser was caching it, or your website's script is manually overriding the page's maximum age to a much higher value. In any case, it looks like your website is now correctly serving the Cache-Control header. If you are still seeing this problem, please could you provide me with the full URL to the affected page, so I can check into it?

Thank you,


Thanks for your help , http://scicil.org/
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

The page you linked looks to have the headers set correctly, and Varnish is successfully reporting that it's not caching it (MISS), as shown below
Age: 0
Cache-Control: max-age=0, private, no-cache, no-store, must-revalidate
X-Cache: MISS


Thank you,
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Your old page had its own cache header, and that means that everything between your eyeballs and the server had permission to cache it. It can be fixed on the hosting server and in your browser, but the old page could be cached by your ISP, etc.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
next time you get caught in a 'cache' - try adding a cache-killer - a query string that will tell any cache box along the way that you want something more specific than they have in the cache

like --> [ http://yourURL/?fobar ]
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
No, just wait for the cached page to age out of wherever it's stuck. Nobody at this end has any control over that (no host does).
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

What are you seeing at that link, exactly? Do you have a screenshot? :)

Thank you,
 
Status
Not open for further replies.
Top