Support the ongoing development of Laravel.io →

309 Threads

posted 10 years ago

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

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 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
posted 10 years ago

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
posted 10 years ago

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
posted 10 years ago

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

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
posted 10 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
posted 10 years ago

Accessing the same cache key multiple times a request

My app often needs data about different categories on different places of the application, so I put...

0 Likes
0 Replies

Pro-active Caching: Looking For Ideas

I have built a business application using Laravel that utilizes several very large datasets. There i...

0 Likes
1 Replies
posted 10 years ago

Problem with cache

Hi all, I have a problem witch cache. I get exception when i try to add tags to cache... Cache::tags...

0 Likes
5 Replies

How can I cache all data in Eloquent

How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.