<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class="alt-edited">Hello community, 3 days ago my bosses asked
          me to optimize access to several pages prioritized in the
          company where i work, luckily for me these pages are
          accessible via http.</span> <span class="">The problem is
          that after i put the rules to cache the pages do not load the
          CSS and look in pure html.</span> <span class="">After
          reversing the changes and doing a "squid -z" the problem
          persists.</span> <span class="">Here i leave the
          configuration that i used to keep the pages in cache.</span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class="">#########################################################################<br>
          #Cache #<br>
#########################################################################<br>
          delay_initial_bucket_level 75<br>
          maximum_object_size 32 MB<br>
          #cache_dir aufs /var/cache/squid 10240 16 256<br>
          cache_dir aufs /opt/squid 1024 16 256<br>
          cache_mem 256 MB<br>
          cache_store_log /opt/squid/cache_store.log<br>
          coredump_dir /opt/squid/dump<br>
          minimum_expiry_time 550 seconds<br>
          ############################<br>
          #uso cache<br>
          ###########################<br>
          client_db off<br>
          offline_mode off<br>
          cache_swap_low 93<br>
          cache_swap_high 97<br>
          cache_replacement_policy heap LUDFA<br>
          memory_replacement_policy heap GDSF<br>
          maximum_object_size_in_memory 512 KB<br>
          half_closed_clients off<br>
###############################################################################<br>
          # establecemos los archivos de volcado en /var/cache/squid/<br>
          coredump_dir /opt/squid/<br>
###############################################################################<br>
          #Establecemos los patrones de refrescamiento de la cache #<br>
          #patron de refrescamiento -- tipo de archivo -- tiempo del
          objeto -- %de refrescamiento -- tiempo #<br>
          #1440 minutos equivalen a 24 horas #<br>
          ################################<br>
          #Refrescamiento de la cache<br>
          ################################<br>
          refresh_pattern ^ftp: 1440 20% 4320<br>
          refresh_pattern ^gopher: 1440 0% 4320<br>
          refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 1440 90% 4320
          override-expire ignore-no-store ignore-private<br>
          refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$
          1440 90% 43200 override-expire ignore-no-store ignore-private<br>
          refresh_pattern -i
          \.(deb|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff|pdf|xls|docx|xlsx|pptx)$
          1440 90% 4320 override-expire ignore-no-store ignore-private<br>
          refresh_pattern -i \.index.(html|htm)$ 1440 10% 4320<br>
          refresh_pattern -i \.(html|htm|css|js)$ 1440 10% 4320<br>
          ################################<br>
          #prioritized in the company<br>
          ################################<br>
          refresh_pattern \.web1\.org\/? 1440 99% 14400 override-expire
          override-lastmod ignore-reload ignore-private<br>
          refresh_pattern \</span></span><span id="result_box" class=""
        tabindex="-1" lang="en"><span class=""><span id="result_box"
            class="" tabindex="-1" lang="en"><span class="">.web2\.org\</span></span>\/?
          1440 99% 14400 override-expire override-lastmod ignore-reload
          ignore-private<br>
          refresh_pattern \</span></span><span id="result_box" class=""
        tabindex="-1" lang="en"><span class=""><span id="result_box"
            class="" tabindex="-1" lang="en"><span class="">.web3\.org\</span></span>\/?
          1440 99% 14400 override-expire override-lastmod ignore-reload
          ignore-private<br>
          <br>
        </span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class="">PD: This is not a reverse proxy, i ony try to gain
          the best of my internet connection</span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" tabindex="-1" lang="en"><span
          class="">Thanks in advance<br>
        </span></span></p>
    <pre class="moz-signature" cols="72">-- 
Saludos Cordiales

Lic. Alex Gutiérrez Martínez

Tel. +53 7 2710327</pre>
  </body>
</html>