Search the Community
Showing results for tags 'Cache'.
-
Hi, is it possible to install this package on Tommy (http://pecl.php.net/package/APC)? It will speed up PHP pages and it will improve performances. Thanks
-
A lot of people had problem flushing their cache and were seeing old heliohost while thier website/account was already created and were seeing old cookies, showing your website is being created and is in queue. This will completely flush your DNS cache. No installation required. Download link: http://adf.ly/1O8Cwa
-
Hi Sorry to bother you once again, but I’m having a Problem here and am too stupid for the internet… So I’m trying to create an Dynamic Cache Manifest for my (offline) Web-App I’m using this http://grinninggecko.com/dynamic-cache-manifest/ version… <?php // Add the correct Content-Type for the cache manifest header('Content-Type: text/cache-manifest'); // Write the first line echo "CACHE MANIFESTn"; // Initialize the $hashes string $hashes = ""; $dir = new RecursiveDirectoryIterator("."); // Iterate through all the files/folders in the current directory foreach(new RecursiveIteratorIterator($dir) as $file) { $info = pathinfo($file); // If the object is a file // and it's not called manifest.php (this file), // and it's not a dotfile, add it to the list if ($file->IsFile() && $file != "./manifest.php" && substr($file->getFilename(), 0, 1) != ".") { // Replace spaces with %20 or it will break echo str_replace(' ', '%20', $file) . "n"; // Add this file's hash to the $hashes string $hashes .= md5_file($file); } } // Hash the $hashes string and output echo "# Hash: " . md5($hashes) . "n"; ?> And for some reason it doesn’t work…. Thanks and I hope you could help me… P.S. sorry for my english
- 7 replies
-
- dynamic cache manifest
- cache manifest
-
(and 2 more)
Tagged with: