256 Kilobytes

All Content > Caching

Type All Category All Tag Caching

Profile Photo - August R. Garcia

[Laravel] unserialize(): Error at offset 2 of 32758 bytes

Answers in Frameworks | By August R. Garcia

Published

Profile Photo - August R. Garcia

Solved, basically

MoreSome max-size issue with Laravel caching library. <?php // Fix weird issue with cache // unserialize(): Error at offset 2 of 32758 byt...
🗨 0
🐏 0
👁 201
Profile Photo - August R. Garcia

[Solved] CKEditor Autosave Draft Functionality - 1.4KB, No Plugin

Articles in Client-Side | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyPS: If you're wondering, this code is not yet live on 256 Kilobytes; will be in the next patch. Edit: There's a bug in the original code relat... August R. Garcia,

PS: If you're wondering,...

Sat, 23 Nov 2019 10:27:41 -080010 months ago1
🗨 1
🐏 1
👁 498
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

TL;DR: Use $GLOBALS

MoreThe Laravel caching functions seem to not have specific built-in functionality to cache a query for only the current pageload, but it can easily be do...
🗨 0
🐏 0
👁 328
Profile Photo - Some Guy

How to leverage browser caching from an htaccess file?

Answers in Web Development | By Some Guy

Published

Profile Photo - Univa

Last ReplyPaste these 15 lines into your .htaccess file. They should go right at the top of the file. ## EXPIRES CACHING ## <IfModule mod_expires.c>... Univa,

Paste these 15 lines into...

Sat, 20 Apr 2019 08:35:13 -07001 year ago1
🗨 1
🐏 0
👁 337
Profile Photo - August R. Garcia

How to Automatically Merge and Minify CSS Files in Laravel 5.7

Articles in Frameworks | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

This also basically works for PHP in gen...

MoreChoose a CSS minifying function. This function from Datayze combined with this additional function to remove comments works fine. Ideally move th...
🗨 0
🐏 0
👁 636