Commit Graph

95 Commits

Author SHA1 Message Date
Sean Harvey
02c2e66d69 Merge pull request #30 from stojg/use-config-system
BUG Static publisher republish even when config systems says no
2013-11-03 15:10:13 -08:00
Stig Lindqvist
f884605b4a BUG Static publisher republish even when config systems says no 2013-11-04 11:56:51 +13:00
Kevin Centeno
e2f4698402 Added cache headers for .html files
"This code snippet checks if a page has been modified since it was last displayed. If so, it sends a "304 not modified" header and exits, otherwise the content is rendered." source: http://css-tricks.com/snippets/php/intelligent-php-cache-control/

Adds Last-Modified, Etag (using md5; performance is still good for files under 1MB), and Cache-Control header.
2013-10-04 15:47:36 -04:00
Will Rossiter
9b8e4798ba Merge pull request #27 from nickspiel/master
Fixes BASE_URL php Notice.
2013-09-18 01:46:51 -07:00
Nick Spiel
5ff80cad6c Fixes BASE_URL php Notice. 2013-09-18 10:31:55 +10:00
Will Rossiter
00e49ccd19 Update buildcache url in documentation (Fixes: #23) 2013-09-16 19:49:30 +12:00
Stig Lindqvist
bacc1d44ba Merge pull request #24 from mateusz/standard-error-pages
NEW Generate static versions of ErrorPages.
2013-09-15 19:28:54 -07:00
Mateusz Uzdowski
ec3bba50b7 NEW Generate static versions of ErrorPages.
The error-XXX.html pages generated in assets folder use the dynamic URL
so they can't be used on the frontend. Provide a copy of these in cache
folder during the publisher processing task.
2013-09-16 14:22:24 +12:00
Mateusz U
689116bcd2 Merge pull request #25 from stojg/fix-tests-for-31
Fix unittests for 3.1rc
2013-09-15 19:21:57 -07:00
Stig Lindqvist
a6ea8bfe95 Fix unittests for 3.1rc 2013-09-16 13:53:57 +12:00
Ingo Schommer
9bd1092e37 Fixed composer constraint to allow for RC releases (composer fixed its tilde behaviour now) 2013-08-14 12:00:33 +02:00
Will Rossiter
2827e4897f Merge pull request #20 from stojg/content-type-19
NEW Pass through the Content-type when using .php extension
2013-06-11 02:53:11 -07:00
Stig Lindqvist
8710217ca2 NEW Pass through the Content-type when using .php extension 2013-06-11 21:38:18 +12:00
Will Rossiter
48e3ed9d35 FIX: Clear DataObject cache when loading each page (Fixes #10)
Include performance figures in the export log for reference.
2013-06-08 13:57:57 +12:00
Will Rossiter
20e3e5f019 API: Deprecate static methods in favour of Config API. 2013-05-24 19:46:15 +12:00
Will Rossiter
fc1e7bd8a2 FIX: Update use of deprecated methods 2013-05-24 18:31:07 +12:00
Will Rossiter
462651d59d FIX: Restore missing getMetadata from silverstripe-cms/f9504e. (Fixes #16) 2013-05-24 18:22:03 +12:00
Tom Densham
ba51f661d4 FIX: Ensure that theme is detected properly 2013-05-24 18:13:04 +12:00
Will Rossiter
7bbfe62883 Merge pull request #18 from dhensby/patch-typo
FIX Path to PHP cache file
2013-05-23 03:51:47 -07:00
Will Rossiter
1c40f4d6bc Merge pull request #17 from dhensby/patch-docs
FIX Docs formatting and errors
2013-05-23 03:50:34 -07:00
Daniel Hensby
3470e7dd22 FIX Path to PHP cache file
Currently linking to the wrong dir for the CachedPHPPage.tmpl
2013-05-23 10:47:18 +01:00
Daniel Hensby
9a880dc066 FIX Docs formatting and errors
Fixed some formatting and documentation errors
2013-05-23 10:39:57 +01:00
Ingo Schommer
bd19b2cc75 Fixed composer constraints 2013-05-07 14:05:21 +03:00
Will Rossiter
410ded98b2 FIX: leave trailing slashes along. 2013-04-06 18:35:08 +13:00
Will Rossiter
9b39e069a8 Add test for Menu current (open/3853) 2013-04-06 17:25:28 +13:00
Will Rossiter
2e9c3109c7 FIX: update for Config API 2013-04-06 17:24:51 +13:00
Will Rossiter
84d70b183e Update docs for 3.1 2013-04-05 21:33:45 +13:00
Ingo Schommer
9cbc0f22f1 Require cms in composer 2013-03-29 10:29:49 +01:00
Ingo Schommer
29fcf55f9b Travis support 2013-03-29 10:25:47 +01:00
Will Rossiter
b1c25911c5 Merge pull request #5 from simonwelsh/patch-1
Add newline to _config.php
2012-12-17 16:32:36 -08:00
Simon Welsh
9bdd73a8d2 Add newline to _config.php 2012-12-18 12:36:02 +13:00
Sam Minnee
8c58a25cae Fixed package name and removed unicode from maintainer 2012-11-03 12:37:54 +13:00
Will Rossiter
7dc67b9c46 Add composer file 2012-09-25 20:04:45 +12:00
Will Rossiter
841ecd9fe5 Rename static to staticpublisher. 2012-09-25 20:02:26 +12:00
Will Rossiter
9ad7892e08 Add blank _config 2012-09-21 19:54:26 +12:00
Will Rossiter
a031fe9f9b Remove route, moved to task 2012-09-21 19:50:31 +12:00
Will Rossiter
3a40e7a74b Move rebuildstaticcache to a standard buildtask 2012-09-21 19:49:46 +12:00
Will Rossiter
ba6e935177 Protect main.php 2012-09-21 19:48:50 +12:00
Will Rossiter
97b79f14b5 Documentation 2012-09-21 19:18:57 +12:00
Will Rossiter
3ff1deff7d Move route to module: 2012-09-21 19:18:35 +12:00
Will Rossiter
eac7827769 Add RebuildStaticCacheTask 2012-09-21 18:03:20 +12:00
Will Rossiter
17060a71d2 Imported tests 2012-09-21 18:03:00 +12:00
Will Rossiter
ea5b8a67aa Ignore .DS_Store files 2012-09-21 17:49:16 +12:00
Will Rossiter
095d8cb83a Import documentation 2012-09-21 17:48:44 +12:00
Will Rossiter
c3c55c4b0e Initial import 2012-09-21 17:47:26 +12:00