Permalink
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 Jan 19, 2017
  1. Actually copy the $_GET array

    nitriques committed 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)

    Fixes #31 does not respect the protocol
    ChoboHub committed with nitriques 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 committed with nitriques 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
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

    This will mimic what the frontend now does and ensure that cachelite do not allow a more permissive X-Frame-Options
    nitriques committed Nov 7, 2014
  3. Added COLLATE=utf8_unicode_ci for new installs

    Fixes #20. I did not wanted to update existing install because I fear we may invalidate all the cached entries.
    nitriques committed Nov 7, 2014
  4. Exclusions: treat 'page/*' is the same as 'page*'

    This bug as long been present and I must tell that it make creating exclusions a bit harsh.
    Fixes #9.
    nitriques committed Nov 7, 2014
  5. Better HTTP get detection

    Just checking if the $_POST array is empty is not enough. If you use verbs like PUT or DELETE, you do not want anything to be cached, since those operation would change the render. This change introduce a private function that will contain the logic regarding if the request is a GET (or HEAD) or not and the function is called both in intercept and in write.
    nitriques committed Nov 7, 2014
Commits on Sep 5, 2014
  1. Merge pull request #19 from DeuxHuitHuit/hash-regression

    Use hash everywhere
    nitriques committed Sep 5, 2014
Commits on Jun 13, 2014
  1. Merge master with integration

    brendo committed Jun 13, 2014
  2. Merge pull request #17 from DeuxHuitHuit/hash-regression

    Fix Regression
    brendo committed Jun 13, 2014
  3. Merge pull request #16 from orchard-studio/2.4-fixes

    DomDocument string generate
    brendo committed Jun 13, 2014