Author Topic: cache img and css in panel  (Read 1268 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cache img and css in panel
« on: September 02, 2023, 08:18:05 AM »
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 .


Offline
*****
Re: cache img and css in panel
« Reply #1 on: September 02, 2023, 12:53:06 PM »
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?

Offline
*****
Re: cache img and css in panel
« Reply #2 on: September 02, 2023, 03:14:30 PM »
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.

Offline
*
Re: cache img and css in panel
« Reply #3 on: September 03, 2023, 09:09:17 AM »
i have vps with 8G ram .
the problem is loading css and js file every time i click link in admin panel .


Offline
*****
Re: cache img and css in panel
« Reply #4 on: September 04, 2023, 02:48:50 AM »
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)?