PHP Classes

File: examples/views/TestCache/hellocache2.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  BladeOne  >  examples/views/TestCache/hellocache2.blade.php  >  Download  
File: examples/views/TestCache/hellocache2.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change:
Date: 11 months ago
Size: 616 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
<body>
<h1>Cache test</h1>
<h2>Test the cache system. Two part of the code is cached for 5 seconds</h2>
<h2>Additionally, in testcache.php, the code avoids to re-read a variable if the cache is still active</h2>
    <hr>
    start of the cache n1:<br>
    this information should be cached {{$random}} {{$time}} unless we are past {{$timeUpTo}}<br>
    @foreach($list as $item)
        {{$item}}<br>
    @endforeach
<hr>$_GET:<br>
@dump($_GET)
<hr>
<a href="?id=2">go to ?id=2</a><br>
<a href="?id=3">go to ?id=3</a><br>
<a href="?id=3&p=3">go to ?id=3&p=3</a><br>

</body>
</html>

For more information send a message to info at phpclasses dot org.