cancel
Showing results for 
Search instead for 
Did you mean: 
timode
Level 9
Report Inappropriate Content
Message 1 of 3

How to force caching of a file

Hi,

I have to make sure some specific large video files are cached by the Web Gateway in order to prevent high traffic on the internet connection. The url of the video look like this:

http://xxx.xxx.xxx.xxx/ampache/play/index.php?ssid=xxxxx&type=video&oid=xx&uid=-1&share_id=xx&share_...

I have to anonimize the parameters, sorry.

Within the ruleset I verified the web cache rules take action (within read and write rules). But the files are always read not from cache.

In the log I see TCP_MISS_RELOAD/200. I am a bit confues about the "_RELOAD". I did a network trace and don't find any headers like no-cache or similar.

trace.png

An idea I have is that as soon as the web gateway finds a ? in the URL it does not cache because content might be dynamic. But I',m not sure.

Is it somehow possible to force a file to be cached an loaded from cache?

best regards

Timo

2 Replies
McAfee Employee jscholte
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: How to force caching of a file

Hi Timo,

You are correct in your findings, MWG has strict rules it follows when it comes to caching. If it suspects that the file could be dynamic (includes parameters in the URL) then it wont cache it.

Best Regards,

Jon

timode
Level 9
Report Inappropriate Content
Message 3 of 3

Re: How to force caching of a file

Hi Jon,

Is there a way to bypass this behaviour for some specific URLs? By using a whitelist or similar? I have to cache some very big mp4 files whose URL include parameters.

best regards

Timo

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community