# Optimization tips?

**URL:** <https://the.fmsoup.org/t/optimization-tips/1981>\
**Category:** Questions\
**Tags:** optimization\
**Created:** [March 31, 2021, 6:30pm UTC](https://the.fmsoup.org/t/optimization-tips/1981 "2021-03-31T18:30:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonMark](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JasonMark](https://the.fmsoup.org/u/JasonMark)\
**Post date:** [March 31, 2021, 6:30pm UTC](https://the.fmsoup.org/t/optimization-tips/1981/1 "2021-03-31T18:30:26Z")

</div>

I'm continuing on my optimization quest. I have a database hosted by a provider and want to go into the most frequent screens users use and narrow down which parts of the screen are significantly affecting page load time. So I made two layouts, one called "Control" which starts as an exact copy of my original layout, and one call "Streamlined".  
I started taking things out of the Streamlined interface I then went and took a bunch of fields out of the "Streamlined" version of the interface, and wrote a script which cycled through 50 records on both Streamlined and Control.

I pretty quickly found a single field that accounted for about 40% of the load time, and removed it.

Cool beans.

But, the problem is caching. The server caches, so the second run is always faster than the first, so I actually run through it three times, the first time to make sure it's cached, and then the next two to actually get data.

Is there some way I could run these tests without cache turned on on the server? To basically force a reload (other than restarting the server before each test)? I just want to make sure that the first person to go to every record doesn't have a super long time if I can prevent it.

Another idea I had, since we only have around 250 "high priority" records which (along with their related data) account for around 95% of our data calls I wondered if there's a value in making a script that runs on the server every morning, or even a few times a day, which basically searches for and displays those 250 records and their most viewed related data to sort of force Filemaker to Cache that data?

Thoughts on either of this?

---

<div class="post-metadata">

**Author:** ![steve\_ssh](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/steve_ssh/32/160_2.png) [@steve\_ssh](https://the.fmsoup.org/u/steve_ssh)\
**Post date:** [March 31, 2021, 7:07pm UTC](https://the.fmsoup.org/t/optimization-tips/1981/2 "2021-03-31T19:07:32Z")

</div>

Hello @JasonMark

Great to hear the work you are doing to determine performance bottlenecks.

You have mentioned caching on the server-side. There's probably nothing that I can contribute to that aspect of your endeavor.

However, if you also wind up considering the possible effects of client-side caching that may be influencing your test results, then I'd encourage you to take a look at this blog post:

> **[Improve FileMaker Performance: Sharing Locks & Feature Flags](https://www.soliantconsulting.com/blog/filemaker-sharing-locks-feature-flags/)**
>
> Learn more about the new performance improvements included in the FileMaker 19.1 release, made possible by sharing locks and feature flags.

HTH.
