承接 emteknetnz/silverstripe-build-suffix 相关项目开发

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

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

emteknetnz/silverstripe-build-suffix

Composer 安装命令:

composer require emteknetnz/silverstripe-build-suffix

包简介

Set file cache suffix to use the last dev/build timestamp

关键字:

README 文档

README

Introduction

This module updates the ?m= suffix used js and css files by Requirements to a ?b= suffix that is the timestamp of the last dev/build.

The general idea is that front-end assets will be cached on a per-deployment basis, because dev/build is (or at least should be) run as part of the deployment process.

If your deployment process does not include a dev/build, then you probably should not use this module.

Usage

Just install the module and the suffix will be automatically used on test and live environments.

Dev environments will continue to use the default ?m= suffix so that newly built front end assets don't get stuck in a browser cache.

You can change this behaviour for different environments by updating config.yml in your mysite folder, e.g.

BuiltAtRequirementsBackend: use_backend_dev: true

Requirements

SilverStripe 3

There is currently no SilverStripe 4 version of this module

Installation

composer require emteknetnz/silverstripe-build-suffix:^1

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-09-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固