Permalink
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

    nitriques committed Apr 26, 2018
    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.
Commits on Apr 14, 2017
  1. Release 2.0.2

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

    nitriques committed Apr 14, 2017
    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
Commits on Mar 21, 2017
  1. Release 2.0.1

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

    nitriques committed Mar 21, 2017
    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
Commits on Jan 20, 2017
  1. Release 2.0.0

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

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

    nitriques committed Jan 20, 2017
    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
  4. Always specify a cache group

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

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

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

    nitriques committed Jan 20, 2017
    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
  8. Database schema refactor

    nitriques committed Jan 20, 2017
    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
Commits on Jan 19, 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)

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

    ChoboHub authored and nitriques committed Oct 6, 2016
    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*
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

    nitriques committed May 17, 2016
    This prevents a fatal crash of the extension. Let the site handle its
    xml problem.
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

    nitriques committed Nov 21, 2014
    Version 1.3: Merge Integration
Commits on Nov 7, 2014
  1. 1.3 Release notes

    nitriques committed Nov 7, 2014
  2. Added X-Frame-Options and Access-Control-Allow-Origin

    nitriques committed Nov 7, 2014
    This will mimic what the frontend now does and ensure that cachelite do not allow a more permissive X-Frame-Options