08.01.2017 20:49, boruc пишет: > Thank you for your answer. > > Actually I managed to do what I want by simply editing that file and > changing content length if necessary. I don't know why sometimes I need to > restart Squid or reopen browser to see changed version of page. Sometimes > it works fine on regular browser window, sometimes I need to open it in > private mode, but that's the thing that I want to figure out now. > > Would it be possible to NOT cache specific files, like images by using > refresh_pattern? Or in other words - I'd like to cache only HTML/CSS files. Sure. You can do it either using refresh_pattern, or, more selectively, using # No cache directives cache deny dont_cache_url cache allow all > 2017-01-06 21:33 GMT+01:00 reinerotto [via Squid Web Proxy Cache] < > ml-node+s1019090n4681075h75@xxxxxxxxxxxxx>: > >> Content adaption can also be done without squid. Mod of message body >> "on-the-fly" can be achieved using commercial product(s). >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> http://squid-web-proxy-cache.1019090.n4.nabble.com/Is-it- >> possible-to-modify-cached-object-tp4681073p4681075.html >> To unsubscribe from Is it possible to modify cached object?, click here >> <http://squid-web-proxy-cache.1019090.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4681073&code=YmFib3J1Y2tpQGdtYWlsLmNvbXw0NjgxMDczfDE2MjkxNjIwMDk=> >> . >> NAML >> <http://squid-web-proxy-cache.1019090.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > -- > View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Is-it-possible-to-modify-cached-object-tp4681073p4681091.html > Sent from the Squid - Users mailing list archive at Nabble.com. > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users -- What is the fundamental difference between the programmer and by a fag? Fag never become five times to free the memory of one object. Fag will not use two almost identical string libraries in the same project. Fag will never write to a mixture of C and C ++. Fag will never pass objects by pointer. Now you know why these two categories so often mentioned together, and one of them is worse :)
Attachment:
0x613DEC46.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users