Static Page Caching 2.x

Legacy documentation for Static Page Caching 2.x.

Version 2.2.4 (August 12, 2014)

  • Fixed a bug where a session ID error could show when upgrading ExpressionEngine.

Version 2.2.3 (April 1, 2014)

  • Updated for compatibility with ExpressionEngine 2.8.

Version 2.2.2 (October 2, 2013)

  • Updated for compatibility with ExpressionEngine 2.7.

Version 2.2.1 (May 14, 2013)

  • Updated for compatibility with ExpressionEngine 2.6.
  • Fixed a bug where deletions from the Queue were not working.

Version 2.2.0 (April 5, 2013)

  • Removed support for ExpressionEngine 1.x (SPC is now EE2 only).
  • Added offline documentation files to download package.
  • Added User-Agent string to caching request (ex: Static Page Caching/2.2.0).
  • Added remove_string="" parameter to Automatic_Cache tag, allowing such things as template group path removal from URI.
  • Added ability to have config.php overrides for settings (ex: $config['spc.cache_folder_url'] = '';).
  • Added preference to choose PHP method for retrieving page for caching.
  • Fixed a bug where some errors were not using the language file.
  • Fixed a bug where MySQL errors could occur in EE 2.5.4+.

Version 2.1.2 (May 1, 2012)

  • Fixed a bug where one of SPC's extension hooks (cp_js_end) was intefering with other third party hooks.

Version 2.1.1 (February 15, 2012)

  • Added the ability to cache URIs for 30 minutes, 2 Days, 5 Days, or 7 Days.
  • Added the Cron URL to the preferences page - unique for every MSM site.
  • Modified the Add URIs tab to only show sites that have their SPC path and .htaccess information filled out.
  • Fixed a bug where URIs cached in the Control Panel did not work correctly with MSM and other caching.
  • Fixed a bug where error messages with an underscore were not displayed correctly in the CP.

Version 2.1.0 (November 17, 2011)

  • Updated control panel interface to be cleaner and more intuitive in EE2.
  • Updated module so that when it is uninstalled, all .htaccess changes and Cached Files are removed.
  • Updated module to be compatible with MySQL Strict Mode.
  • Fixed a bug where the .htaccess files were possibly being written incorrectly for MSM Sites.

Version 2.0.3 (August 12, 2011)

  • Fixed a bug that caused the Automatic_Cache tag to fall into an endless loop.

Version 2.0.2 (August 4, 2011)

  • Converted SPC to use Solspace Add-on Builder Framework, and Solspace Bridge for EE 1.x.
  • Added new .htaccess rule to remove 'spc_override' segment from URIs to ensure compatibility with other add-ons.
  • Alternative cache folders names are now allowed and found automatically based off "Server Path for Cache Directory" preference.
  • Fixed a bug where URI's with quotes were not being saved or deleted correctly from the cache.
  • Fixed a bug where Smart Template Editing would not work in EE 2.x.

Version 2.0.1 (March 21, 2011)

  • Added NSM Add-on Updater support.
  • Fixed a bug in code that was meant to fix a problem with .htaccess file writing in SPC 1.6.2.
  • Fixed a bug that caused URI's to not be saved correctly on sites that were not the default site.
  • Fixed a bug where index.php was hardcoded into the .htaccess redirect, preventing non-standard index file names from working.

Version 2.0.0 (December 29, 2010)

  • Upgraded module to use Solspace Bridge with CodeIgniter, therefore allowing compatibility with EE 2.x.
  • Fixed a bug where 2-digit Site ID's could cause issues in the .htaccess file.

Version 1.6.1 (April 16, 2010)

  • Modified the Recaching routine to only put a URI into the queue if the cache file was successfully deleted.
  • Modified the Recaching routine to better support load-balanced servers where file system metadata may return incorrect a file's existence for a short period of time.
  • Modified so that if the SPC rules are seen in the site's .htaccess file they are replaced at that point in the file, instead of forcing them to be written at the top of the file.
  • Fixed a JS bug that prevented the XID has from being changed on multiple forms in a single cached template.
  • Fixed a bug where URIs did not have whitespace trimmed from the end, which was causing a problem with cached filenames.

Version 1.6.0 (September 2, 2009)

  • Converted module to work with Solspace's Hermes expansion instead of FT-E.
  • Fixed a bug where fsockopen(), the last method attempt to get a page's data, was not working correctly.
  • Enabled usage with the Solspace ToolBar in the Solspace UI module.

Version 1.5.1 (July 6, 2009)

  • Fixed a bug where the ‘spc_override’ segment, used internally by SPC, was being inserted into Pagination on cached pages.
  • Fixed a bug where the Queue was not being run on the module’s control panel pages.
  • Fixed a bug where an error would be thrown for Smart Template Editing when deleting a group.

Version 1.5.0 (June 24, 2009)

  • Added in Smart Entry Editing and Smart Template Editing preferences and abilities.
  • Added a search form to the SPC module’s homepage for searching cached URIs.
  • Added the {exp:static_page_caching:automatic_cache} tag, which will automatically cache an uncached page when it is hit.
  • Added the {exp:static_page_caching:refresh_secure_hash} tag, which when put at the bottom of a page will still allow Secure Form Hashes to work on SPC cached pages.
  • Added support for an SPC Override Segment. Just add the segment 'spc_override' at the end of your URL and the page will be loaded through EE and not the cache file.
  • Modified the Cache Renewal Interval to now have a possible value of 'Every Hour'
  • Fixed a bug where caching the homepage would disable Action and CSS requests when index.php was remove by .htaccess
  • Fixed a bug where caching the homepage would not work if one requested the page with index.php but no slash on the end
  • Fixed a bug where caching the homepage would incorrectly put the URI in the database as two forward slashes
  • Fixed a bug where an image was not loading correctly in the SPC control panel
  • Fixed a bug where the SPC .htaccess redirect would not work on subdomains created by an upper directory .htaccess file redirect.

Version 1.1.0 (April 21, 2009)

  • Added the ability to refresh currently cached URIs from the module’s homepage.

Version 1.0.0 (February 25, 2009)

  • Initial release.