Add (composer): opcache
Add (npm): brotli compression lib
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"alaminfirdows/laravel-editorjs": "^2.0",
|
||||
"appstract/laravel-opcache": "^4.0",
|
||||
"artesaos/seotools": "^1.2",
|
||||
"codex-team/editor.js": "^2.0",
|
||||
"genealabs/laravel-model-caching": "^0.13.4",
|
||||
|
||||
64
composer.lock
generated
64
composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "f3e478e6e6942e24067e2af466668892",
|
||||
"content-hash": "b3e1a1debea33ff4235be5b1c7bc3ee9",
|
||||
"packages": [
|
||||
{
|
||||
"name": "alaminfirdows/laravel-editorjs",
|
||||
@@ -59,6 +59,68 @@
|
||||
},
|
||||
"time": "2023-02-26T11:15:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "appstract/laravel-opcache",
|
||||
"version": "4.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appstract/laravel-opcache.git",
|
||||
"reference": "d2ce88cddda6af54c14d1f9ceaaf94b54f38f9d3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/appstract/laravel-opcache/zipball/d2ce88cddda6af54c14d1f9ceaaf94b54f38f9d3",
|
||||
"reference": "d2ce88cddda6af54c14d1f9ceaaf94b54f38f9d3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"guzzlehttp/guzzle": "^6.3.1|^7.0",
|
||||
"laravel/framework": ">=7.0",
|
||||
"php": ">=7.2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^5.0",
|
||||
"phpunit/phpunit": "^8.5"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Appstract\\Opcache\\OpcacheServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Appstract\\Opcache\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Olav van Schie",
|
||||
"email": "mail@appstract.nl",
|
||||
"homepage": "https://appstract.nl",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "PHP OPcache Artisan commands for Laravel.",
|
||||
"homepage": "https://github.com/appstract/laravel-opcache",
|
||||
"keywords": [
|
||||
"Opcache",
|
||||
"appstract",
|
||||
"laravel",
|
||||
"php"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/appstract/laravel-opcache/issues",
|
||||
"source": "https://github.com/appstract/laravel-opcache/tree/4.0.2"
|
||||
},
|
||||
"time": "2020-12-01T16:12:14+00:00"
|
||||
},
|
||||
{
|
||||
"name": "artesaos/seotools",
|
||||
"version": "v1.2.0",
|
||||
|
||||
30
config/opcache.php
Normal file
30
config/opcache.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'url' => env('OPCACHE_URL', config('app.url')),
|
||||
'prefix' => 'opcache-api',
|
||||
'verify' => true,
|
||||
'headers' => [],
|
||||
'directories' => [
|
||||
base_path('app'),
|
||||
base_path('bootstrap'),
|
||||
base_path('public'),
|
||||
base_path('resources'),
|
||||
base_path('routes'),
|
||||
base_path('storage'),
|
||||
base_path('vendor'),
|
||||
],
|
||||
'exclude' => [
|
||||
'test',
|
||||
'Test',
|
||||
'tests',
|
||||
'Tests',
|
||||
'stub',
|
||||
'Stub',
|
||||
'stubs',
|
||||
'Stubs',
|
||||
'dumper',
|
||||
'Dumper',
|
||||
'Autoload',
|
||||
],
|
||||
];
|
||||
52
package-lock.json
generated
52
package-lock.json
generated
@@ -37,7 +37,8 @@
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"sass": "^1.64.1",
|
||||
"unplugin-vue-components": "^0.25.1",
|
||||
"vite": "^4.4.6"
|
||||
"vite": "^4.4.6",
|
||||
"vite-plugin-compression": "^0.5.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@antfu/utils": {
|
||||
@@ -1647,6 +1648,20 @@
|
||||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/fs-extra": {
|
||||
"version": "10.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
|
||||
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"graceful-fs": "^4.2.0",
|
||||
"jsonfile": "^6.0.1",
|
||||
"universalify": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/fsevents": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||
@@ -1850,6 +1865,18 @@
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/jsonfile": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
|
||||
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"universalify": "^2.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"graceful-fs": "^4.1.6"
|
||||
}
|
||||
},
|
||||
"node_modules/laravel-vite-plugin": {
|
||||
"version": "0.7.8",
|
||||
"resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.8.tgz",
|
||||
@@ -2463,6 +2490,15 @@
|
||||
"node": ">=8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/universalify": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
|
||||
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/unplugin": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.4.0.tgz",
|
||||
@@ -2606,6 +2642,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/vite-plugin-compression": {
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/vite-plugin-compression/-/vite-plugin-compression-0.5.1.tgz",
|
||||
"integrity": "sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"chalk": "^4.1.2",
|
||||
"debug": "^4.3.3",
|
||||
"fs-extra": "^10.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vite": ">=2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vite-plugin-full-reload": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.0.5.tgz",
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"sass": "^1.64.1",
|
||||
"unplugin-vue-components": "^0.25.1",
|
||||
"vite": "^4.4.6"
|
||||
"vite": "^4.4.6",
|
||||
"vite-plugin-compression": "^0.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@editorjs/editorjs": "^2.27.2",
|
||||
|
||||
BIN
public/build/assets/NativeImageBlock-041f164b.js.gz
Normal file
BIN
public/build/assets/NativeImageBlock-041f164b.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/PostEditor-986ca08b.js.gz
Normal file
BIN
public/build/assets/PostEditor-986ca08b.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/VueEditorJs-4387d219.js.gz
Normal file
BIN
public/build/assets/VueEditorJs-4387d219.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/admin-app-935fc652.css.gz
Normal file
BIN
public/build/assets/admin-app-935fc652.css.gz
Normal file
Binary file not shown.
BIN
public/build/assets/admin-app-bade20ce.css.gz
Normal file
BIN
public/build/assets/admin-app-bade20ce.css.gz
Normal file
Binary file not shown.
BIN
public/build/assets/admin-app-be7eed0b.js.gz
Normal file
BIN
public/build/assets/admin-app-be7eed0b.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/bundle-2e44dd63.js.gz
Normal file
BIN
public/build/assets/bundle-2e44dd63.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/bundle-8d671c97.js.gz
Normal file
BIN
public/build/assets/bundle-8d671c97.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/front-app-0cdc6a38.js.gz
Normal file
BIN
public/build/assets/front-app-0cdc6a38.js.gz
Normal file
Binary file not shown.
BIN
public/build/assets/front-app-9bc7257c.css.gz
Normal file
BIN
public/build/assets/front-app-9bc7257c.css.gz
Normal file
Binary file not shown.
BIN
public/build/assets/index-8746c87e.js.gz
Normal file
BIN
public/build/assets/index-8746c87e.js.gz
Normal file
Binary file not shown.
BIN
public/build/manifest.json.gz
Normal file
BIN
public/build/manifest.json.gz
Normal file
Binary file not shown.
@@ -3,9 +3,11 @@ import laravel from "laravel-vite-plugin";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import path from "path";
|
||||
import Components from "unplugin-vue-components/vite";
|
||||
import viteCompression from "vite-plugin-compression";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
viteCompression(),
|
||||
vue(),
|
||||
laravel({
|
||||
input: [
|
||||
|
||||
Reference in New Issue
Block a user