What is Regex and what is it's role in development

I was trying to optimize the speed of my website in professional and advnced way via caching. There I get this term researched over the internet but I’m still confused about it. Could any one help me in getting this term properly?

Regex is an abbreviation of “Regular Expression”.
It is a way of searching for matches of a string of charaters.

1 Like

In any case, regular expressions have nothing to do with caching.

2 Likes

ohhhkkkk got it. Thank you!

Okay, actually I had some unused css on my client’s wp site. I was trying to remove that for better speed via perfmettrs. Now I think I’ve got my answer. Thanks.

I did wonder how, if at all, it may relate to caching. All I could think of is for setting cache control certain file types. As in saying +.\.jpg to target Jpeg files.

I also tried server caching technique via headers from cpanel. That works there for me. To get more noticeable results I was trying to remove unused css.

Ya I also enable cashing on peoxy server. I think that would help.

For clarity, Sam meant .+\.jpg there, but the point stands.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.