[squid-users] Thoughts on caching aspx jsp asp cgi-bin
Jonathan Lee
jonathanlee571 at gmail.com
Tue Dec 31 23:06:46 UTC 2024
Thanks I have to admit I am a student currently,
I guess my last question is what do cgi-bin asp aspx asp files do inside of websites? The reason I ask this is the rule below I have seen the same rule on different websites so it must be the main ones that cause issues. Is it just for dynamic content?
> On Dec 31, 2024, at 14:47, Robin Wood <squid at digi.ninja> wrote:
>
> I would say that it depends on what the dynamic content is. If it is public content from a CMS and you are OK with it potentially being your cache age out of date, then caching it rather than reloading it from the database every page load is fine. If the pages are for anything sensitive, for example a user's account, then definitely do not cache it.
>
> Robin
>
> On Tue, 31 Dec 2024 at 17:55, Jonathan Lee <jonathanlee571 at gmail.com <mailto:jonathanlee571 at gmail.com>> wrote:
>> What are your thoughts? This is in relation to ssl intercept with certificates installed and bump active.
>>
>> Keep in mind I am still a student and learning.
>>
>> Is a rule like this recommended? Does anyone have a better version of this?
>> Sent from my iPhone
>>
>>> On Dec 30, 2024, at 14:10, Jonathan Lee <jonathanlee571 at gmail.com <mailto:jonathanlee571 at gmail.com>> wrote:
>>>
>>> Hello fellow Squid Users,
>>>
>>> Can you please help?
>>>
>>> What are your thoughts on this rule? Should cgi-bin aspx and jsp files be excluded from the web-cache? They are dynamic correct? This could help speed up systems right?
>>>
>>>
>>> acl QUERY urlpath_regex cgi-bin \? asp aspx jsp
>>>
>>> ## Prevent caching jsp, cgi-bin etc
>>> cache deny QUERY
>>>
>>> Ref:
>>> Setting up Explicit Squid Proxy
>>> wiki.alpinelinux.org
>>> <favicon.png>
>>> <https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy>Setting up Explicit Squid Proxy <https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy>
>>> wiki.alpinelinux.org <https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy> <favicon.png>
>>> <https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy>_______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org>
>> https://lists.squid-cache.org/listinfo/squid-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20241231/31821a71/attachment.htm>
More information about the squid-users
mailing list