0

If I have multiple pages that refer to a single pagehandler script, will the script be called from the browser cache if I navigate from one of these pages to another?

Isaac Lubow
  • 3,557
  • 5
  • 37
  • 53

2 Answers2

1

Yes. Here's a workaround: When does browser automatically clear cache of external JavaScript file?

Community
  • 1
  • 1
Tudor
  • 4,137
  • 5
  • 38
  • 54
0

Yes. External javascript files can be cached in the same way as images.

Your server (apache, iis, etc) will need to be configured to send out the correct http headers to ensure the browser knows if/how to cache the assets.

Ben Rowe
  • 28,406
  • 6
  • 55
  • 75