• MODX.com

    632 downloads

  • modstore.pro

    6 downloads

LastModified

LastModified is an extra by kudashevs, first released on 2019-03-21.

Package Description

MODx Revolution plugin which handle request If-Modified-Since and return Last-Modified header and 304 response code if necessary. The key difference from similar packages is a possibility to update last editing date of parent resource to reacquire its content.Available system settings (namespace lastmodified):

  • response - set value of Cache-control response directive, аvailable values: "private", "public".
  • maxage – set value of Cache-control max-age directive in seconds, default is 3600.
  • expires – set value of Expires header current time offset in seconds, default is 3600.
  • update_parent - updates last editing date of parent resource to reacquire its content. Default false.
  • update_level - set nested level from current resource and up for parent resources dates update. Default 1.
  • update_start - update last editing date for start page too on every resource change. Default false.
  • prevent_authorized - prevent If-Modified-Since handling for authorized users. Default true.
  • prevent_session - prevent If-Modified-Since handling if any of listed values (comma separated) was founded in session variables names. Default minishop2.

Feel free to suggest ideas/improvements/bugs on GitHub:

https://github.com/kudashevs/LastModified/issues

Usage/Installation Instructions

After installation use System settings lastmodified namespace to set preferable settings values.

Details

Developer(s)
kudashevs
Released
2019-03-21
First seen
2019-03-21
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.3

LastModified Releases

Vendor Signature Released on
MODX.com 1.0.9-pl 2019-03-21 (7 months ago)
MODX.com 1.0.8-pl 2019-03-12 (8 months ago)
MODX.com 1.0.6-pl 2018-09-12 (1 year ago)
MODX.com 1.0.5-pl 2018-08-14 (1 year ago)
MODX.com 1.0.0-beta1 2016-11-02 (3 years ago)