cache img and css in panel

Started by hamedap, September 02, 2023, 08:18:05 AM

Previous topic - Next topic

hamedap

Hello
would you please tell me how to cache panel resources with .htaccess ?
where is .htaccess of panel ?

my panel is too slow for loading every time i click link .
i want to cache img css js file to speedup .


overseer

CWP lives in /usr/local/cwpsrv/
Are you looking at the user panel or admin panel?
But I do think you're approaching the wrong problem -- if you want things to go faster, take assessment of your available resources and your current load. Is this a VPS? What connection speed are you guaranteed? CPU and RAM?

Starburst

Check what overseer mentioned.
Anything less than 4GB RAM & 2 CPU's is going to run slow. 2GB RAM is the absolute MINIMUM.

Your servers connection.

But also your connection to the internet.

If you want to log in faster, there is a checkbox to the left of the login button that says, 'Fast Login (no stats and checks)'.
Check that box, then login.

hamedap

i have vps with 8G ram .
the problem is loading css and js file every time i click link in admin panel .


overseer

But what is your own ISP connection speed? And what is your VPS guaranteed -- 100Mbit? Gigabit? Is this at peak times, or all the time (off hours)?