Selective caching in firefox

Is there a plugin or method for performing selective caching in firefox? I can completely disable caching , but I would like to be able to cache some large javascript libraries (extjs) that take a few seconds to load.

+3
source share
3 answers

There is no plugin that would provide such functions.

"Selective caching" can be implemented on the server side.

Check link

Squid Cache may solve your problem.

Alternatively, you can write the following:

<script type="text/javascript" src="scripts/ext.js"></script>
<script type="text/javascript" src="scripts/custom_script.js?<?php echo time(); ?>"></script>

JS . , . ExtJS .

HTML5, , : http://gregsramblings.com/2012/05/28/html5-application-cache-how-to/

0

, js , .

0

, . , , . - . , , .

Everything that is available in the cache will be available for the private window, but as soon as you close the private window, everything else will be deleted.

You can create an additional cache_me.html file and open it in a standard non-private window:

<head>
  <script src="I_want_to_cache_this.js" />
 ..
</head>
0
source

Source: https://habr.com/ru/post/1715911/


All Articles