Skip to content

CORS and domains issues #2000

Answered by PeopleInside
PeopleInside asked this question in Q&A
Discussion options

You must be logged in to vote

I found hot to resolve.
The following code placed in htaccess file resolve the issue

# DISABLE CACHING
<IfModule mod_headers.c>
    Header set Cache-Control "no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires 0
</IfModule>

<FilesMatch "\.(css|flv|gif|htm|html|ico|jpe|jpeg|jpg|js|mp3|mp4|png|pdf|swf|txt)$">
    <IfModule mod_expires.c>
        ExpiresActive Off
    </IfModule>
    <IfModule mod_headers.c>
        FileETag None
        Header unset ETag
        Header unset Pragma
        Header unset Cache-Control
        Header unset Last-Modified
        Header set Pragma "no-cache"
        Header set Cache-Control "max-age=0, no-cache, no-store…

Replies: 3 comments

Comment options

PeopleInside
Oct 2, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

PeopleInside
Oct 2, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

PeopleInside
Oct 2, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by PeopleInside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant