Skip to content

Commit

Permalink
mv cache.manifest konopas.appcache
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Oct 5, 2014
1 parent 5ebf38b commit 15d9653
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ available.

The HTML5 [cache manifest] is by default not enabled, as it makes testing and
development a bit of a hassle. To enable, you should update the contents of
`cache.manifest` to match your deployment and add a reference to it in the
`konopas.appcache` to match your deployment and add a reference to it in the
`<html>` tag. Do check that your server is properly serving it with the
`text/cache-manifest` MIME type, and that the manifest doesn't include itself,
as debugging a bad manifest can be tricky.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html><!-- manifest="cache.manifest" -->
<html><!-- manifest="konopas.appcache" -->
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="skin/skin.css">
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions util/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ All KonOpas utilities are distributed under the same ISC license as KonOpas itse
For more online tools to help with KonOpas, see: http://konopas.org/util/


KonOpas cache.manifest updater
KonOpas cache manifest updater
------------------------------

`update-cache-manifest.php` updates the timestamp on the `cache.manifest` file in KonOpas root. That file is used by the HTML5 cache KonOpas uses to indicate changes in data. So if your programme gets updated, you'll want to either run `update_cache_manifest(...)` directly (as `read-from-gdrive.php` does), or do an HTTP GET request for this file.
`update-cache-manifest.php` updates the timestamp on the `konopas.appcache` file in KonOpas root. That file is used by the HTML5 cache KonOpas uses to indicate changes in data. So if your programme gets updated, you'll want to either run `update_cache_manifest(...)` directly (as `read-from-gdrive.php` does), or do an HTTP GET request for this file.


Google Drive Spreadsheet -> KonOpas Javascript converter
Expand Down
2 changes: 1 addition & 1 deletion util/read-from-gdrive.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
)
);

$cache_manifest = '../cache.manifest'; // set to FALSE to disable
$cache_manifest = '../konopas.appcache'; // set to FALSE to disable


// You should not need to change anything below this line.
Expand Down
2 changes: 1 addition & 1 deletion util/update-cache-manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
*/

if (!isset($cache_manifest)) $cache_manifest = '../cache.manifest';
if (!isset($cache_manifest)) $cache_manifest = '../konopas.appcache';

if (!function_exists('file_put_contents')) {
function file_put_contents($filename, $data) {
Expand Down

0 comments on commit 15d9653

Please sign in to comment.