Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Invalidating Orm Cache
  • is it possible to invalidate caches?  Either for a specific model or even globally if not.

    Issue:  End admin user created a new department. When listing departments in a drop down select it did not show up for several minutes.  I am thinking it was because of Orm caching.

    I would like to invalidate the cache for that object when a new object of that type is created.


  • Orm's internal caching only exists for the duration of the request (it sole purpose is to make sure you get the same object if you select the same record multiple times), so it is extremely unlikely that this is the cause.

    Perhaps DB caching is enabled? Or there is caching implemented in the code?
  • I think it was Web Browser caching. 

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion