Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:57:21+00:00 2026-05-29T22:57:21+00:00

Initial situation: Inside a function I’m caching a query using the cachedWithin attribute. Right

  • 0

Initial situation:
Inside a function I’m caching a query using the cachedWithin attribute.
Right below that cfquery tag I’m caching derived&related data into a struct stored in the SERVER scope.

Problem:
I want to re-populate that struct if the query above has been refreshed, but foo.cached only seems to indicate whether the tag uses caching at all.
Does Railo provide additional metadata to actually receive true if that query has been updated, not just if it’s cached at all or should I resort to a cfcache workaround?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:57:22+00:00Added an answer on May 29, 2026 at 10:57 pm

    Just in case anyone’s interested:

    Since the “cached” attribute didn’t turn out to be reliable in my case (might be because I inherited this system from my predecessor and can’t vouch for how much of the application server has been modified in the past) I resorted to a different approach, based on the classic cacheGet/cachePut block.

    The resulting caching decision logic is based on the timeout of the subsequent struct that’s fed by this query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The initial situation is that I map my domain model into a presentation model.
Situation:I have an ASP .NET application that will search through docs using Lucene. I
Initial tests indicate that GDI+ (writing in VB.NET) is not fast enough for my
ModelMultipleChoiceField doesn't select initial choices and I can't make the following fix (link below)
How do I assign initial values to fields inside a ModelForm? eg: class Form1(forms.Form):
We're in the initial stages of a large project, and have decided that some
In my initial days of using linux I usually had to search google to
Here is the situation, I have a login page as the initial rootView of
Initial situation: I am working with a proprietary framework ( ESRI 's ArcGIS Engine
So here is the situation... I am using jQuery/AJAX to call various HTML sequences

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.