Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
catbreadbat Posted December 21, 2012 Posted December 21, 2012 Hello, I would like to use caching on my forum. To accomplish this, I disabled the "Print HTTP no-cache headers" feature. However, when I did that, it caused all kinds of weird bugs/glitches on my forum. One such bug being that, when I reply to a topic, go back to the board (via logo link), then click that topic again, my post does not show up. I must refresh the page manually for me to see it. I isolated it to this setting, because when it is enabled, everything works perfectly. Could you guys explain to me why it does this, or help me to solve it? Thanks! BTW, I asked IPS to help, and they said to post here -_-
Bartosz.Misiak Posted December 22, 2012 Posted December 22, 2012 The browser assumes it's fine to cache the entire webpage and doesn't pull the data from the webserver, but from its own cache instead. I guess it could be fixed by adding the time of the last post/update of a topic in headers.
catbreadbat Posted December 22, 2012 Author Posted December 22, 2012 The browser assumes it's fine to cache the entire webpage and doesn't pull the data from the webserver, but from its own cache instead. I guess it could be fixed by adding the time of the last post/update of a topic in headers. Hello, Is there any way I could do that?
Dmacleo Posted December 22, 2012 Posted December 22, 2012 is the print on? the setting right above the Print HTTP no-cache headers
catbreadbat Posted December 22, 2012 Author Posted December 22, 2012 is the print on? the setting right above the Print HTTP no-cache headers Yes it is.
Dmacleo Posted December 22, 2012 Posted December 22, 2012 are you using any tools like APC cache or Varnish/Nginx?
catbreadbat Posted December 22, 2012 Author Posted December 22, 2012 are you using any tools like APC cache or Varnish/Nginx? I'm currently using Cloudflare. From what I understand though, cloudflare's caching is useless with print no-cache headers.
Dmacleo Posted December 22, 2012 Posted December 22, 2012 yeah iirc that is setup on cf end but I forget where now.
Bartosz.Misiak Posted December 23, 2012 Posted December 23, 2012 Hello, Is there any way I could do that? That would require a bit of coding :) Take a look at http://en.wikipedia.org/wiki/List_of_HTTP_header_fields -> Last-modified. The IPS Suite would need to print this header appropriately, depending on the page being rendered.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.