Welcome to NESR! Most features of this site require registration, including replying to threads, sending private messages, starting new threads, and uploading files. Click here to register.

Page 1 of 2 12 LastLast
Results 1 to 25 of 26

Chrome ignoring cache-control?

  1. #1
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Chrome ignoring cache-control?


    Just noticed this today, chrome seems to be ignoring the html header info on this site saying not to cache it. I now need to shift-reload every damn page I load to see posts. Anyone else running into this?

    0 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  2. #2
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Certainly something weird going on. I'm on Chrome on a tablet and the site is being super sketchy.

    0 Not allowed!

  3. #3
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    I did implement some caching settings today but I've been using it on chrome since with no issues. I'll look into it.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  4. #4
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Let me know if it's any better now, I just removed any non-explicit directives so it should only be instructing caching behavior on images/css/javascript.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  5. #5
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Seems better to me (in very limited testing).

    1 Not allowed!

  6. #6
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    Same here.

    0 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  7. #7
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    Er, ok, not 100% better.

    1 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  8. #8
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Ok, all cache-control directives have been removed. Thanks for the heads up.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  9. #9
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    Did some googling, seems Chrome is particularly pissy on that front. Now I need to look at my webserver and see what it's doing...

    0 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  10. #10
    Bizarro Zoolander Petorius's Avatar
    Join Date
    Jul 2011
    Location
    Warwick, RI
    Posts
    1,791
    iTrader Score
    1 (100%)

    Re: Chrome ignoring cache-control?

    I am getting the same problem.

    0 Not allowed!
    LRRS AM #365
    Getting faster thanks to Woodcraft Technologies | Computrack Boston

  11. #11
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by Petorius View Post
    I am getting the same problem.
    If you were on the site yesterday afternoon/evening at all, you may need to force-refresh your browser (control/F5 for most browsers) or clear your cache. The settings responsible for the issue were removed last night but may be cached on your end.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  12. #12
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Location
    Cabot, VT
    Posts
    2,592
    iTrader Score
    6 (100%)

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by Frankenstein View Post
    If you were on the site yesterday afternoon/evening at all, you may need to force-refresh your browser (control/F5 for most browsers) or clear your cache. The settings responsible for the issue were removed last night but may be cached on your end.
    I don't know the terminology, but I'm getting the first post in the thread when I click on last unread post, am not able to see some current posts, and keep seeing thread titles in bold despite having viewed the last post multiple times. I have force refreshed and closed my browser a few times, no improvement. Chrome on a Windows 7 desktop.

    0 Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 05 YZ450F ice - 03 KDX220R woods - 00 WR400 MOTARD!

  13. #13
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Try going to the "home page" and press and hold the Ctrl button then press F5 and release both. This should refresh your cache (which closing the browser may not).

    0 Not allowed!

  14. #14
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    The caching code was removed from the site last night before 9:30. Completely removed, not just disabled. Any remaining effects have to be tied to the local browser cache. There's nothing else it could be. Plus, I can't replicate the issue which is making it hard for me to test possible fixes - I use chrome on OS X, iOS, and Windows 10 on the daily.


    Sent from my iPhone using Tapatalk

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  15. #15
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Not arguing with you at all Josh, just trying to get carsick working again. The behavior he describes is exactly what I was seeing yesterday evening on my mobile device.

    His local cache is somehow effed up, and need to be fixed (hopefully without removing all of his cache).

    0 Not allowed!

  16. #16
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by jasnmar View Post
    Not arguing with you at all Josh, just trying to get carsick working again. The behavior he describes is exactly what I was seeing yesterday evening on my mobile device.

    His local cache is somehow effed up, and need to be fixed (hopefully without removing all of his cache).
    Understood, I was actually replying to carsick but I'm not super savvy with tapatalk sometimes. I appreciate your effort!


    Sent from my iPhone using Tapatalk

    1 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  17. #17
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Good news is...I'm pretty sure the problematic value, ExpiresDefault, was set to access+2 days. So 9:30 pm tomorrow and this should 100% resolve itself regardless of any manual action on the browser side.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  18. #18
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    If you don't dump your cache completely, you'll have to reload ANY page you viewed before the change was made, not just the home page.

    0 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  19. #19
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    Danville, NH
    Age
    41
    Posts
    10,711
    iTrader Score
    4 (100%)

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by Kurlon View Post
    If you don't dump your cache completely, you'll have to reload ANY page you viewed before the change was made, not just the home page.
    Great point. If you can clear your cache but leave cookies in tact, that's pretty low-impact so I'd start there.

    0 Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  20. #20
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by Kurlon View Post
    If you don't dump your cache completely, you'll have to reload ANY page you viewed before the change was made, not just the home page.
    Agreed, but if we can get it to work for the home page, it's a fix he can apply to any page that's being "funny".

    0 Not allowed!

  21. #21
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Location
    Cabot, VT
    Posts
    2,592
    iTrader Score
    6 (100%)

    Re: Chrome ignoring cache-control?

    WTF is a cache??

    0 Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 05 YZ450F ice - 03 KDX220R woods - 00 WR400 MOTARD!

  22. #22
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    3,652
    iTrader Score
    3 (100%)

    Re: Chrome ignoring cache-control?

    Stuff that gets downloaded and stored locally so that it doesn't have to be downloaded again, mostly (in this case).

    The browser was depending on a downloaded copy of local data rather than downloading the correct data (mostly).

    0 Not allowed!

  23. #23
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Location
    Cabot, VT
    Posts
    2,592
    iTrader Score
    6 (100%)

    Re: Chrome ignoring cache-control?

    I'll have to review this when not using up leftover PBR.

    0 Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 05 YZ450F ice - 03 KDX220R woods - 00 WR400 MOTARD!

  24. #24
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    39
    Posts
    10,996
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by carsick View Post
    WTF is a cache??
    You go to the store, buy some nudie mags, review the contents and then stick them in your sock drawer.

    The next day, you decide you need to review the contents again. Rather than go to the store, you just retrieve them from your sock drawer which is much quicker. You just accessed your cache.

    When your mom cleans your room and throws out your cache behind your back, it just got flushed.

    7 Not allowed!
    771 Racing -=- FaceBook
    Backed by: Computrack Boston
    490 Project - $1.50 raised so far!

  25. #25
    Senior Member Tekime's Avatar
    Join Date
    Mar 2016
    Location
    Falmouth, ME
    Age
    37
    Posts
    396
    iTrader Score
    0

    Re: Chrome ignoring cache-control?

    Quote Originally Posted by Kurlon View Post
    You go to the store, buy some nudie mags, review the contents and then stick them in your sock drawer.

    The next day, you decide you need to review the contents again. Rather than go to the store, you just retrieve them from your sock drawer which is much quicker. You just accessed your cache.

    When your mom cleans your room and throws out your cache behind your back, it just got flushed.
    lol

    tldr; it's like a photograph

    This is also definitely the best thread on caching I've ever read on a motorcycle forum

    0 Not allowed!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •