Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Browser caching (NOT page caching)
Avatar
Kelly Brady
Member
sp_UserOfflineSmall Offline
Jan 11, 2017 - 12:09 am

Ok, I've followed some recent posts about the evils of attempting to cache Simplepress, so I'm trying to make sure I'm not doing that.

I've just had a bit of a debate with one of my web hosts regarding server-side caching; they assure me that they have no server-side caching enabled (& I don't have any caching plugins installed).

However, I am getting a grade of "A" on webpagetest.org for "Cache Static Content" when I run it against my site (from a different origin server that has never scanned the site before). This means I am happily browser caching somehow, right?

I move a duplicate copy of my site to another host (different domain name), and when I run webpagetest.org against it, I get an "F" for "Cache Static Content" suggesting it is not facilitating browser caching.

After much debate my first host then tells me that they do have browser caching enabled server-wide (but it isn't server-side?), and I'll have to send "no cache" instructions to browsers if I don't want them to cache it.  Of course, I'm not having to do that at the 2nd host with the same exact code running.

So let me ask: Do I need to abandon my first host because they can't/won't disable browser caching?  Unlike page caching, I don't think user A can see user B's browser cache, so personal views/protected content isn't the issue. I would guess the issue would be not seeing updated content timely if revisiting/refreshing a post/page/view?

Kellywptest.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 11, 2017 - 4:25 am

I think you first need to step back to determine if you are seeing any discrepancies with the forum display. The signs of caching are easy to spot. Make a forum post and when the page reloads is the post visible? Does the post show up in the group/forum view as X number of seconds/minutes ago? When you reload the page does it change as expected. Does it respect your logged in status.

If you are not seeing any such problems then I would suspect that things are fine. With plugins like wp-cache or total-cache, then all of the above would be noticeable and obvious without excludng the forum page.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kelly Brady
Member
sp_UserOfflineSmall Offline
Jan 11, 2017 - 12:35 pm

Thanks for the really good and helpful reply - I'm going to do some testing just as you suggest - thanks!

Kelly

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 11, 2017 - 3:52 pm

We will be here. Please do let us know how it goes.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620