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
    46
    Posts
    13,518

    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! Not allowed!

  2. #2
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    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! Not allowed!

  3. #3
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  4. #4
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  5. #5
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    Re: Chrome ignoring cache-control?

    Seems better to me (in very limited testing).

    1 Not allowed! Not allowed!

  6. #6
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    46
    Posts
    13,518

    Re: Chrome ignoring cache-control?

    Same here.

    0 Not allowed! Not allowed!

  7. #7
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    46
    Posts
    13,518

    Re: Chrome ignoring cache-control?

    Er, ok, not 100% better.

    1 Not allowed! Not allowed!

  8. #8
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    Re: Chrome ignoring cache-control?

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

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

  9. #9
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    46
    Posts
    13,518

    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! Not allowed!

  10. #10
    Bizarro Zoolander Petorius's Avatar
    Join Date
    Jul 2011
    Location
    Windham NH
    Posts
    2,026

    Re: Chrome ignoring cache-control?

    I am getting the same problem.

    0 Not allowed! Not allowed!

  11. #11
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  12. #12
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Posts
    2,861

    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! Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 03 KDX220R woods - 12 WR450F motard/ice

  13. #13
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    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! Not allowed!

  14. #14
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  15. #15
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    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! Not allowed!

  16. #16
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  17. #17
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  18. #18
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    46
    Posts
    13,518

    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! Not allowed!

  19. #19
    Administrator Frankenstein's Avatar
    Join Date
    May 2001
    Location
    NH
    Posts
    6,512

    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! Not allowed!
    -Josh || Forum Rules || Stop. Think. Post.

  20. #20
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    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! Not allowed!

  21. #21
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Posts
    2,861

    Re: Chrome ignoring cache-control?

    WTF is a cache??

    0 Not allowed! Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 03 KDX220R woods - 12 WR450F motard/ice

  22. #22
    Lifer jasnmar's Avatar
    Join Date
    Mar 2012
    Location
    Chichester, NH
    Posts
    4,409

    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! Not allowed!

  23. #23
    Day late, dollar short carsick's Avatar
    Join Date
    Nov 2011
    Posts
    2,861

    Re: Chrome ignoring cache-control?

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

    0 Not allowed! Not allowed!
    99 + 02 SV650 ex-race - 91 FJ1200 street - 03 KDX220R woods - 12 WR450F motard/ice

  24. #24
    Lifer Kurlon's Avatar
    Join Date
    Jun 2007
    Location
    Waterboro ME
    Age
    46
    Posts
    13,518

    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! Not allowed!

  25. #25
    Lifer Tekime's Avatar
    Join Date
    Mar 2016
    Location
    Falmouth, ME
    Age
    44
    Posts
    1,323

    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! Not allowed!

Page 1 of 2 12 LastLast

Similar Threads

  1. Ignoring DOC
    By BLACK SQUIRREL in forum Site Info & Suggestions
    Replies: 24
    Last Post: 05-12-09, 01:02 PM
  2. CHROME
    By dcen in forum General Bike Related
    Replies: 43
    Last Post: 06-19-08, 12:07 PM
  3. anyone into chrome?
    By Kham in forum General Bike Related
    Replies: 6
    Last Post: 07-19-07, 08:44 PM
  4. Chrome
    By MsHap in forum General Bike Related
    Replies: 26
    Last Post: 03-17-07, 01:40 PM

Posting Permissions

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