PHP Classes

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

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/views/TestCache/hellocache.blade.php   Download  
File: examples/views/TestCache/hellocache.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: 3.41 update BladeOneCache.php
Date: 2 years ago
Size: 792 bytes


Class file image Download
<!DOCTYPE html>
<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>
    start of the cache n1:<br>
    this information should be cached {{$random}} {{$time}} unless we are past {{$timeUpTo}}<br>
    @foreach($list as $item)
    end of the cache<br>
    this information should not be cached {{$random}} {{$time}} <br>
    start of the cache N2:<br>
    this information should also be cached {{$random}} {{$time}} unless we are past {{$timeUpTo}}<br>
    end of the cache<br>