LastModified 1.0.6-pl

LastModified 1.0.6-pl

Released Sep 12, 2018 by kudashevs
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. Download 26kb (94 downloads)
Downloads: 205
License: GPLv2
Requires Revolution 2.3.x or greater
Supports mysql

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.

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

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

Installation Instructions

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

1.0.5-pl

  • Add update start page
  • Some improvements

1.0.5-pl

  • Add update nesting level
1.0.4-pl
  • Parent 0 bugfix
  • Some improvements
1.0.3-pl
  • Add update parent editedon functionality
  • Some phpdoc annotation update
1.0.2-pl
  • Add response directive option
  • Update lexicon files and docs
  • Some improvements
1.0.1-pl
  • Add maxage and expires options
  • Add HTTP protocol version
  • Update lexicon files and docs
1.0.0-pl
  • Initial release

Version Released Author Downloads
3 Versions 1 Contributors 205 Downloads
1.0.5-pl Aug, 14 2018 kudashevs 55
1.0.3-pl Jul, 12 2018 kudashevs 56