Skip to content
Permalink
master

Commits on Feb 17, 2020

  1. Release 2.2.0

    nitriques committed Feb 17, 2020
  2. Set the cache header to BYPASS

    when an extension does force a cache bypass
    nitriques committed Feb 17, 2020

Commits on Aug 29, 2018

  1. Release 2.1.2

    nitriques committed Aug 29, 2018

Commits on Jun 5, 2018

  1. Release 2.1.1

    nitriques committed Jun 5, 2018

Commits on Apr 26, 2018

  1. Release 2.1.0

    nitriques committed Apr 26, 2018
  2. Add a cron cache purge strategy

    By enabling it, the cache does not get purged on entry save: they are
    rather purged by a sperate script, which must be configured as a cron
    job.
    nitriques committed Apr 26, 2018

Commits on Apr 14, 2017

  1. Release 2.0.2

    nitriques committed Apr 14, 2017
  2. Fix the automatic exclusion of the root page.

    The root page (/) was always excluded from the cache.
    This commit rewrites the whole logic and adds unit tests
    in order to test that particularly hard to get right algorithm.
    
    Fixes #38
    nitriques committed Apr 14, 2017

Commits on Mar 21, 2017

  1. Release 2.0.1

    nitriques committed Mar 21, 2017
  2. Fix timestamp default value for MySQL 5.5

    Setting CURRENT_TIMESTAMP has a default value requires MySQL 5.6+.
    I used conditional comments to make the default value active on 5.6
    setups only
    
    Fixes #37
    nitriques committed Mar 21, 2017

Commits on Jan 20, 2017

  1. Release 2.0.0

    nitriques committed Jan 20, 2017
  2. Make xml parsing safer

    There are not reason to fatally crash if the xsl can't be parsed.
    
    Also look for item nodes with a id attribute
    nitriques committed Jan 20, 2017
  3. Refactor how http headers are sent

    For the cache to be effective, the http cache header must be the same,
    regardless of the cache status (hit or miss).
    
    This commit remove references to HTTP/1.0.
    
    This commit also makes sure that custom content type are properly sent
    
    Fixes #27
    nitriques committed Jan 20, 2017
  4. Always specify a cache group

    This scopes out thing better.
    Also, the cache does not need to be fetched before it's written to.
    nitriques committed Jan 20, 2017
  5. Removed wrong comment

    nitriques committed Jan 20, 2017
  6. ksort does not return an array

    Fixed bug introduced in 1db4e33
    nitriques committed Jan 20, 2017
  7. Allow extension to bypass the cache

    Some extensions, like the member extension, could want some request to
    never use the cache nor be cached.
    
    Since it's not easy to tell which request should be bypassed, a delegate
    is the best way to let other parts of the system decide.
    
    Fixes #30
    nitriques committed Jan 20, 2017
  8. Database schema refactor

    The old schema was not scalable since it only allowed for ~85 entries
    and ~85 sections references per page (2 digits id + | = 3)
    
    The new schema makes it so each row can contain a page reference, one
    section id and one entry id. Multiple rows are created for all the
    values, which makes it possible to save all ids from the page.
    
    This commit also makes DB errors in this extension silently fail: there
    is nothing worst than crashing a perfectly working page because the
    cache settings could not be written.
    
    Fixes #36
    nitriques committed Jan 20, 2017

Commits on Dec 16, 2016

  1. Remove # comments

    nitriques committed Dec 16, 2016

Commits on Dec 12, 2016

  1. Move changelog to xml file

    nitriques committed Dec 12, 2016

Commits on Oct 6, 2016

  1. Make the cache key different under https (#35)

    Fixes #31 does not respect the protocol
    ChoboHub authored and nitriques committed Oct 6, 2016
  2. Wildcard not matching properly (#34)

    Multiple issue fixed on the method _in_excluded_pages().
    It will now behave normally and respect : 
    Excluding pages
    
    Preferences. Each URL must sit on a separate line and wildcards () may be used at the end of URLs to match everything below that URL. /about-us/get-in-touch/ http://root.com/about-us/get-in-touch/ about-us/get-in-touch* /about-us/get*
    ChoboHub authored and nitriques committed Oct 6, 2016

Commits on May 17, 2016

  1. 1.3.2 release notes

    nitriques committed May 17, 2016
  2. Exit gracefully when the xml is not valid

    This prevents a fatal crash of the extension. Let the site handle its
    xml problem.
    nitriques committed May 17, 2016

Commits on Mar 6, 2016

  1. 1.3.1 release notes

    nitriques committed Mar 6, 2016
  2. Added MIT Licence file

    nitriques committed Mar 6, 2016

Commits on Nov 21, 2014

  1. Merge pull request #24 from symphonists/integration

    Version 1.3: Merge Integration
    nitriques committed Nov 21, 2014
Older
You can’t perform that action at this time.