MODX EXTRA

LastModified

1.0.10-pl

Creator: Sergey Kudashev (kudashevs)

1.0.10-pl (29 KB) Other Versions

About LastModified

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

Information

Released
October 29, 2020
Supported Versions
2.3 – Current
Downloads
1,723
License
GPLv2

New in LastModified 1.0.10

1.0.10-pl

  • Add clear cache for all updated documents on OnDocFormSave
  • Massive refactoring
  • Update .gitignore

1.0.9-pl

  • Add contexts support
  • Some improvements

1.0.8-pl

  • Add prevent on session variables names

1.0.7-pl

  • Add prevent handling for authorized users
  • Some improvements

1.0.6-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

More

Current Releases

1.0.10-pl
October 29, 2020
2.3 – Current
1.0.9-pl
March 21, 2019
2.3 – Current
More
View Deprecated Releases

More from Sergey Kudashev

NF

NotFoundParamAlert

NotFoundParamAlert is MODx Revolution Extra which generate alert…

FT

ForceTemplate

MODx Revolution plugin which force set of given template for all…