<div dir="auto">I'm going to massively over simplify things here, but you can think of it like this. <div dir="auto"><br></div><div dir="auto">Files with html extensions are static web pages, you write them, put them on the server, and they are served as they are, no changes. </div><div dir="auto"><br></div><div dir="auto">Asp and the others are dynamic files, they are processed by an app on the server before they are sent to the client. This app may do nothing, so the page comes as it was, but usually it will add content. This content could be to create a CMS page by pulling the page content from a database, it could be your shopping orders pulled from your account, or it could be your current bank statement. </div><div dir="auto"><br></div><div dir="auto">Caching should never be done on anything that is specific to a single user, so it's fine to cache public CMS content with an asp extension, but not your bank statement. </div><div dir="auto"><br></div><div dir="auto">There is more to it than that, but hopefully that gives you a general idea. </div><div dir="auto"><br></div><div dir="auto">Robin</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 31 Dec 2024, 23:07 Jonathan Lee, <<a href="mailto:jonathanlee571@gmail.com">jonathanlee571@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="">Thanks I have to admit I am a student currently,<div><br></div><div>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? <br id="m_-8897238180275844790lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Dec 31, 2024, at 14:47, Robin Wood <squid@digi.ninja> wrote:</div><br><div><div dir="ltr">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.<div><br></div><div>Robin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 31 Dec 2024 at 17:55, Jonathan Lee <<a href="mailto:jonathanlee571@gmail.com" target="_blank" rel="noreferrer">jonathanlee571@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:1rem;color:rgb(33,37,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">What are your thoughts? This is in relation to ssl intercept with certificates installed and bump active.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:1rem;color:rgb(33,37,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">Keep in mind I am still a student and learning.</p>Is a rule like this recommended? Does anyone have a better version of this? <br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Dec 30, 2024, at 14:10, Jonathan Lee <<a href="mailto:jonathanlee571@gmail.com" target="_blank" rel="noreferrer">jonathanlee571@gmail.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">Hello fellow Squid Users, <div><br></div><div>Can you please help?</div><div><br></div><div>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?<div><br></div><div><br></div><div><div style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;background-color:rgb(246,247,249)"><span style="font-kerning:none">acl QUERY urlpath_regex cgi-bin \? asp aspx jsp</span></div><div style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;background-color:rgb(246,247,249);min-height:17px"><span style="font-kerning:none"></span><br></div><div style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;background-color:rgb(246,247,249)"><span style="font-kerning:none">## Prevent caching jsp, cgi-bin etc</span></div><div style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;background-color:rgb(246,247,249)"><span style="font-kerning:none">cache deny QUERY</span></div></div><div><span style="font-kerning:none"><br></span></div></div><div><span style="font-kerning:none">Ref:</span></div><div><span style="font-kerning:none"><div style="display:block"><div style="display:inline-block" role="link"><a style="border-radius:10px;font-family:-apple-system,Helvetica,Arial,sans-serif;display:block;width:300px;overflow:hidden;text-decoration:none" rel="nofollow noreferrer" href="https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy" dir="ltr" role="button" width="300" target="_blank"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:rgb(10,73,104);font-family:-apple-system,Helvetica,Arial,sans-serif" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td><table bgcolor="#0A4968" cellpadding="0" cellspacing="0" width="300" style="table-layout:fixed;font-family:-apple-system,Helvetica,Arial,sans-serif;background-color:rgb(10,73,104)"><tbody><tr><td style="padding:8px 0px"><div style="max-width:100%;margin:0px 16px;overflow:hidden"><div style="font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left"><a rel="nofollow noreferrer" href="https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy" style="text-decoration:none" target="_blank"><font color="#FFFFFF" style="color:rgba(255,255,255,0.847)">Setting up Explicit Squid Proxy</font></a></div><div style="font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left"><a rel="nofollow noreferrer" href="https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy" style="text-decoration:none" target="_blank"><font color="#FFFFFF" style="color:rgba(255,255,255,0.55)">wiki.alpinelinux.org</font></a></div></div></td><td style="padding:6px 12px 6px 0px" width="30"><a rel="nofollow noreferrer" href="https://wiki.alpinelinux.org/wiki/Setting_up_Explicit_Squid_Proxy" target="_blank"><div><favicon.png></div></a></td></tr></tbody></table></td></tr></tbody></table></a></div></div></span></div></div></blockquote></div>_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>
</div></blockquote></div><br></div></div></blockquote></div>