承接 brandonwestcott/li3_varnish 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

brandonwestcott/li3_varnish

Composer 安装命令:

composer require brandonwestcott/li3_varnish

包简介

Lithium PHP easy ESI varnish caching

README 文档

README

Libraries::add('li3_varnish', array(
	'development' => array(
		'esiUrl' => '/esi',
		'defaults' => array(
			'esi' => true,
			'expire' => '+1 days'
		),
		'cache' => array(
			'SomeController::index' => array(
				'expire' => '+2 days',
				'esi' => true,
			),
			'SomeController::show'
		),
	)
));

In the view, you have two options to render items as ESI partials. Either pass in esi = true into the options of a view render, or use the esi helper as a short cut.

<?=$this->_render("element", "login", array(), array('esi' => true)); ?>

or

<?=$this->esi->_render("element", "login"); ?>

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GNU
  • 更新时间: 2012-10-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固