Ok, does that mean when I edit .htaccess in my server, it doesn’t do anything? How can i interact it(when its on your server site) ? What if i wanted to add code to .htaccess?
I guess, you can export files and host them on your hosting, but with that aproach, you will loose CMS, REST API, SPA, and some more functionalities that depepnd on Divhunt backend and server in order to work.
Recently, I did some research on improving website speed, and I have a question: Does the htaccess on your server support the following elements below?(used speed tests , chat gpt, and seo saas to get information- how to improve speed of my site. I’m complete noob and wanted to get some infos )
mod_expires.c module: Controls caching behavior for various file types by setting expiration times.
ExpiresActive On: Activates the expiration control.
ExpiresDefault "access plus 1 month": Default expiration for unspecified file types.
File type-specific expiration times:
Images (jpg, jpeg, gif, png, svg+xml): 1 year.
CSS and JavaScript files (text/css, text/javascript, application/javascript): 1 month.
Fonts (ttf, woff, woff2): 1 year.
Documents (pdf, msword): 1 month.
LiteSpeed directives:
SetEnv noabort 1: Ensures that PHP scripts continue running even if the user cancels the request.
mod_deflate.c module: Manages compression of file types to reduce the size of responses.
Browser compatibility: Ensures certain older browsers handle compression properly.
BrowserMatch ^Mozilla/4 gzip-only-text/html: Compresses only HTML for older Mozilla browsers.
BrowserMatch ^Mozilla/4\.0[678] no-gzip: Disables gzip for older versions of Mozilla.
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html: Excludes certain versions of Internet Explorer from gzip compression.
Vary Header: Header append Vary User-Agent ensures different content is served depending on the user’s browser.
Compression types:
text/plain, text/html, text/xml, text/css, text/javascript, application/xml, application/rss+xml, application/javascript, application/json, font/opentype, font/ttf, image/svg+xml, image/x-icon: Specifies file types to be compressed.
Compression level: DeflateCompressionLevel 6 sets the compression strength.
mod_headers.c module: Adds security-related HTTP headers to improve security.
X-Content-Type-Options "nosniff": Prevents browsers from guessing MIME types.
X-Frame-Options "DENY": Prevents the page from being embedded in an iframe, protecting against clickjacking attacks.