Support the ongoing development of Laravel.io →

334 Threads

How to load the latest collection file

hello, does anyone know how to make my application load the latest collection file I have? Somehow i...

0 Likes 0 Replies

Cache problem when using a cached query with a eager loaded join

I am using the file cache for an in office application which has about 5 users. The cache is workin...

0 Likes 3 Replies

Caching relationships and table data

Throughout querying my database with the queries as the one below; Model::with('first','second','thi...

0 Likes 2 Replies
Solved

RESTful Controllers use lots of memory

Hi All, My restful controllers in the routes.php use lots of memory in Laravel 4.1. This standard? I...

0 Likes 3 Replies

Global query for every view. Better approach?

I would like to be able to display a status message count on every view of a site that I'm developin...

0 Likes 0 Replies

Caching under 1 second

$expiresAt = Carbon::now()->addSeconds(20); Cache::put($key, $data, $expiresAt); This doesn't se...

0 Likes 6 Replies
Solved

Caching a complex DB::select(...) query

Hi, I am trying to implement some basic database caching but I am running into some difficulties. I...

0 Likes 1 Replies

Class cache does not exist

Hi all I have a slight issue ive extended the UrlGenerator class as explained in the documents to us...

0 Likes 0 Replies

Laravel Queue with AWS

Let's say i'm submitting multiple Job to Queue with the same Job name. But while one job is processe...

0 Likes 0 Replies

Cache directory woes

By default blade caches its compiled views in {storage_path}/views. I've made sure that this directo...

0 Likes 0 Replies

Session doesn't keep payload

$cookie = Session::put('test','selected'); $test = Session::get('test'); dd($test); I'm getting sele...

0 Likes 0 Replies

Pagination Data not Consistant

<?php echo $users->appends(array('sort' => 'votes'))->links(); ?> I do a GET form sub...

0 Likes 0 Replies

Cookie not Displaying

$cookie = Cookie::forever('test','selected') $test = Cookie::get('test'); dd($test); I'm getting NUL...

0 Likes 0 Replies

Caching API calls

Is there a way to use the Cache class to cache API calls like in my example below? I don't see anywa...

0 Likes 1 Replies

How to cache specific related model info?

Hi, Let's say a User belongsTo a Language, and to make it simple here's the controller (no repo) : $...

0 Likes 6 Replies

Set Relative Address in Artisan command for simplepie

I use Simplepi as artisan command for red feed . for setteing simplepie i need the relative address...

0 Likes 0 Replies

Several Questions about Caching and Session options.

#1. Database vs File System I've done a lot of researching on this and am finding pros and cons for...

0 Likes 3 Replies

How to use 2 Cache drivers?

I need to use Cache with memcache and Cache with file. I would be OK if file cache was like FileCach...

0 Likes 2 Replies
Solved

Where does those calls come from?

Hi, I installed php-debugbar and this is the output I get. select * from `pages`133μs256KB3000000005...

0 Likes 2 Replies
7 years ago

Cache Dependency

Hi In yii, we could use cache dependency. For example: $sql = 'SELECT * FROM tbl_post LIMIT 20'; $de...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.