Ticket #394 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

ExpiresActive prevents page updates

Reported by: Kimmo Suominen <kimmo+key+gregarius.77ab71@suominen.com> Assigned to: mbonetti
Priority: normal Milestone: Gregarius 0.5.5
Component: BUGS Version:
Severity: normal Keywords: expires .htaccess
Cc:

Description

If your Apache web server has ExpiresActive enabled, pages from Gregarius won't refresh as intended. An easy solution is to disable ExpiresActive in .htaccess.

Attachments

o (275 bytes) - added by Kimmo Suominen <kimmo+key+gregarius.77ab71@suominen.com> on 04/21/06 09:51:34.
Patch to .htaccess
expires.diff (397 bytes) - added by sdcosta on 05/01/06 02:38:41.

Change History

04/21/06 09:51:34 changed by Kimmo Suominen <kimmo+key+gregarius.77ab71@suominen.com>

  • attachment o added.

Patch to .htaccess

04/26/06 00:17:38 changed by sdcosta

Would you be able to clarify what sort of refresh are you referring to? Ajax update? serverpush update?

04/30/06 19:59:25 changed by anonymous

The browser caches content according to the Expires: HTTP header. With ExpiresActive? enabled Apache will add such headers to content that doesn't have any. Gregarius does not provide its own Expires: headers for all content, so some content is cached by the browser when it is not expected/wanted/intended (such as the home page).

An easy solution is to make sure ExpiresActive? is not enabled for Gregarius content by turning it off in .htaccess (as is done for e.g. MultiViews?).

05/01/06 02:38:41 changed by sdcosta

  • attachment expires.diff added.

05/01/06 02:39:08 changed by anonymous

I would rather not mess with the .htaccess file. How about sending our own expires header with a date in the past? Somewhat like the patch above?